8033057: clang: friend declaration specifying a default argument must be a definition (original) (raw)
Lindenmaier, Goetz goetz.lindenmaier at sap.com
Thu Jan 30 23:24:38 PST 2014
- Previous message: RFR: 8033057: clang: friend declaration specifying a default argument must be a definition
- Next message: 8033057: clang: friend declaration specifying a default argument must be a definition
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
this was already fixed fort he ppc port in change 8023033: PPC64 (part 13): basic changes for AIX
See jdk9/hs-comp
Best regards, Goetz.
-----Original Message----- From: hotspot-dev-bounces at openjdk.java.net [mailto:hotspot-dev-bounces at openjdk.java.net] On Behalf Of Henry Jen Sent: Donnerstag, 30. Januar 2014 23:55 To: hotspot-dev at openjdk.java.net Subject: RFR: 8033057: clang: friend declaration specifying a default argument must be a definition
Hi,
Please review a fix on an error reported by clang 3.4.
http://cr.openjdk.java.net/~henryjen/jdk9/8033057/webrev/
The fix is to be comforming to C++ 11 spec, quoted,
C++11: ยง8.3.6.4 "If a friend declaration specifies a default argument expression, that declaration shall be a definition and shall be the only declaration of the function or function template in the translation unit."
A working draft for C++ 11 can be found at http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3376.pdf
Cheers, Henry
- Previous message: RFR: 8033057: clang: friend declaration specifying a default argument must be a definition
- Next message: 8033057: clang: friend declaration specifying a default argument must be a definition
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]