const char problem on Ubuntu 8.04

Roman Kennke roman.kennke at aicas.com
Tue Apr 22 13:13:05 PDT 2008


Hi there,

After upgrading to Ubuntu 8.04, I noticed that the compiler shipped
there (gcc 4.2.3) is a little picky about const chars. Attached you find
a patch that contains all the necessary changes to shut up the compiler.
It fixes the declarations of a bunch of char* to const char*, or in
other cases (where not possible otherwise), insert a cast from const
char* to char*.

Cheers, Roman

-- 
Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hotspot-const-chars.patch
Type: text/x-patch
Size: 2900 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20080422/081b46ad/attachment.bin 


More information about the hotspot-dev mailing list