[Bug libfortran/41169] [4.5 regression] libgfortran fails to build on Solaris 10+: '_Imaginary_I' undeclared
ro at techfak dot uni-bielefeld dot de
gcc-bugzilla@gcc.gnu.org
Thu Aug 27 16:26:00 GMT 2009
------- Comment #6 from ro at techfak dot uni-bielefeld dot de 2009-08-27 16:25 -------
Subject: Re: [4.5 regression] libgfortran fails to build on Solaris 10+:
'_Imaginary_I' undeclared
joseph at codesourcery dot com writes:
> There is no use in keeping definitions relating to imaginary types when
> GCC doesn't implement them, and the uses of imaginary types are extremely
> limited (as far as I can tell, they are only useful for building up
> complex values with exact control of infinities, NaNs and signed zeros in
> each component).
Ok, thanks. So I'll implement my manual hack in fixincludes and submit
that patch once I'm ready.
I'll probably try to get a fix into OpenSolaris for CR 6549313
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6549313
so the fix will become unnecessary in the future.
What I don't fully understand yet is whether imaginary support in GCC
isn't/won't be there simply because it's been removed from C99 or nobody
thinks the work to implement it is worthwile.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41169
More information about the Gcc-bugs
mailing list