Strange compiler error on AMD64 system

Compiler:

CC: Sun C++ 5.8 Patch 121018-04 2006/08/02

When compiling an application using stlport (-g -library=stlport4), each file produces the same error:

"/opt/studio11/SUNWspro/prod/include/CC/stlport4/stl/_stdio_file.h", line 97: Error: _file is not a member of const __FILE.

Biulding on a 32 bit system with the same compiler works.

Odd.

[379 byte] By [Zootle] at [2007-11-26 10:05:39]
# 1
This problem was found earlier as bug #6445824, which has been fixed internally. I don't think the fix has yet been released in a patch. I believe the bug is visible at bugs.sun.com, so you can track progress yourself.
clamage45 at 2007-7-7 1:42:51 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
Unfortunately the bug doesn't appear to be visible. Is there a work around?
Zootle at 2007-7-7 1:42:51 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

I updated the bug so that it should appear on bugs.sun.com. It might take 24 hours for the bug to be visible.

Unfortunately, there is no workaround for this bug. The STLport headers used an unportable interface to C stdio, and the problem was only recently discovered.

The fix is to edit the offending STLport files, which we do not encourage, to use fileno() instead of the unportable reference to the "file" member of the FILE struct.

clamage45 at 2007-7-7 1:42:51 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4
Thanks, I'll look out for it. I'll clean up the files for now and re-install when the patch is released.Ian.
Zootle at 2007-7-7 1:42:51 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 5
Does anyone know if this has been resolved?
GEAR_Software at 2007-7-7 1:42:51 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 6
The bug is fixed in the upcoming patches 121017-07 and 121018-07.
Atanasyan at 2007-7-7 1:42:51 > top of Java-index,Development Tools,Solaris and Linux Development Tools...