-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alan Lord wrote:
> Dan Nicholson wrote:
>  >> /usr/src/secondary/jdk-build/hotspot/src/share/vm/runtime/os.hpp:325:
>>> error: extra qualification 'os::' on member 'exception_name'
>>
>> These "extra qualification" issues are because of gcc-4.1. There's a
>> patch in the repo, it just hasn't gotten into the book yet.
>>
>> http://www.linuxfromscratch.org/patches/downloads/jdk/jdk-1.5.0_08-gcc4-2.patch
> 
> 
> FYI this came up yesterday with aspell too and there was a very good
> explanation of the problem by Wilco Beekhuizen. He spoke thus:
> 
> "Extra qualification errors are common with gcc4. This means a class is
> redundantly mentioned with a class function. Just remove the part before
> :: on the mentioned line"
> 
> Just FYI.
> 
> Al
> 
Al,
OK, I tried removing what was before :: and got a different error on
that line. Let me get a before and after snapshot. I took what you said
to mean remove X from an X::Y construct. Did I understand incorrectly?

Arnie

Error from the last build:
/usr/src/secondary/jdk-build/hotspot/src/cpu/amd64/vm/frame_amd64.hpp:130:
error: extra qualification 'frame::' on member 'native_param_addr'

Line 130 in offending file before editing:
inline address* frame::native_param_addr(int idx) const;

Line 130 after editing:
inline address* ::native_param_addr(int idx) const;

Error on next build:
/usr/src/secondary/jdk-build/hotspot/src/cpu/amd64/vm/frame_amd64.hpp:130:
error: invalid use of '::'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFSUjII9lqJPlLBqQRAmilAJ9deU7dZyCcio274urhG9wkumaWJgCeKZiJ
laNli6+acjFNxlDXNR6r3oQ=
=ZgYF
-----END PGP SIGNATURE-----
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to