diff options
| author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-04 21:07:48 +0000 |
|---|---|---|
| committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-04 21:07:48 +0000 |
| commit | 6e75e3f2d7035ba70c3c928ae648c9945de34431 (patch) | |
| tree | 864e76a639738a9d7af588491843d89196e3cac7 /libjava/classpath/java/net/URL.java | |
| parent | b8fd42a36767cc022dc8751c796dc6445407726b (diff) | |
| download | ppe42-gcc-6e75e3f2d7035ba70c3c928ae648c9945de34431.tar.gz ppe42-gcc-6e75e3f2d7035ba70c3c928ae648c9945de34431.zip | |
Fix bootstrap failure with clang++.
This patch fixes a bootstrap failure when using clang as the host
compiler. Default arguments for class template member functions
should be added in the declaration, not the definition.
From Jason:
> 8.3.6 says "Default arguments for a member function of a class template shall
> be specified on the initial declaration of the member function within the
> class template."
PR bootstrap/54484
* vec.h (vec_t::embedded_init): Move default argument value
to function declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190951 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/net/URL.java')
0 files changed, 0 insertions, 0 deletions

