This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: the struggle for a 64-bit GCC on Solaris 10 - part 2
On 12 November 2012 22:37, Dennis Clarke wrote:
>
> I'm giving this a try :
>
> CC='gcc -m64 -D__XOPEN_SOURCE=600 -g'
>
> ... thus far it has not blown up in 71 secs. :-\
It will fail with the same error in prettyprint.g
The macro __XOPEN_SOURCE is wrong, it should be a single underscore,
so the headers will ignore it and define the non-standard iconv(3)
signature, as it you hadn't defined the macro at all.