[gs-bugs] [Bug 691427] 'make so' broken again with icc/lcms merge using special LCMS_CC, etc.

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Jul 22 11:01:22 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691427

--- Comment #12 from Ken Sharp <ken.sharp at artifex.com> 2010-07-22 11:01:21 UTC ---
(In reply to comment #11)

> For reasons I haven't investigated, these work correctly on a *release* build,
> but give a C stack overflow error on a debug build.

On a debug build we call fstat on the input file. This is inlined to call
_fstat64i32, but this seems to be bound straight back to fstat. Pretty quickly
the C stack is exhausted and we get an error.

Defining __STDC__ makes the application work, but makes me rather nervous. I'm
not convinced this is a good way to proceed.

The msvc help does say:

"__STDC__
 Indicates full conformance with the ANSI C standard. Defined as the integer
constant 1 only if the /Za compiler option is given and you are not compiling
C++ code; otherwise is undefined. "

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list