On Wed, Nov 03, 2010 at 07:08:10PM -0400, Robert S. Kissel wrote:
> On Wed, Nov 3, 2010 at 2:06 AM, Michal Hocko <[email protected]> wrote:
> > could you try to add -D_XOPEN_SOURCE=500 to the tests command line:
> 
> I'm afraid that doesn't help:
> 
> $ g++ -o test -D_XOPEN_SOURCE=500 -posix -std=c++98 test.c
> test.c: In function `int main()':
> test.c:4: error: `mkstemp' was not declared in this scope
> 
> 
> $ g++ -o test -D_XOPEN_SOURCE=500 -posix -std=c++98 -ansi test.c
> test.c: In function `int main()':
> test.c:4: error: `mkstemp' was not declared in this scope

OK, could you try with -D_XOPEN_SOURCE_EXTENDED instead of
-D_XOPEN_SOURCE=500. Normally this option should be defined by
_XOPEN_SOURCE>=500 but maybe this is not a case with cygwin. If this is
a case then this is a bug in cygwin.

Thanks!
-- 
Michal Hocko

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Pdfedit-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to