[Bug java/19738] gcjh generates invalid class member floating-point initialisers

Gabriel Dos Reis gdr@integrable-solutions.net
Tue Feb 1 16:00:00 GMT 2005


"giovannibajo at libero dot it" <gcc-bugzilla@gcc.gnu.org> writes:

[...]

| In fact, I personally use this to expose constants without linkage:
| 
| struct A {
|    enum { a = 45 };
| };

agree.

| but with floating point numbers you are out of luck. 

Indeed.

-- Gaby



More information about the Gcc-bugs mailing list