On Fri, Oct 22, 2010 at 05:46:31PM -0400, Robert S. Kissel wrote:
> On Fri, Oct 22, 2010 at 5:18 AM, Michal Hocko <msts...@gmail.com> wrote:
> >> >> On Tue, Oct 19, 2010 at 10:58:22PM -0400, Robert S. Kissel wrote:
> >> >>> http://www.mail-archive.com/pdfedit-support@lists.sourceforge.net/msg00492.html)
> >> >>> gfile.cc: In function `GBool openTempFile(GString**, FILE**, char*, 
> >> >>> char*)':
> >> >>> gfile.cc:523: error: `mkstemp' was not declared in this scope
> >> >>> gfile.cc:531: error: `fdopen' was not declared in this scope
> > Can you post the header file and the compiler command line? I guess we
> > are missing some defines here. Though, it is strange that we have no
> > problem with building under Linux and there were some attempts on BSD as
> > well - without any issues.
> > I can have a look at that.
> 
> Thank you, Miss Hocko, that will be very kind of you; I'll send them

Mrs but Michal is also OK ;)

> when I get to my office next week.  Can you let me know exactly which
> files you would like?  This was not the only one with the error.

Let's start with the one that is supposed to contain mkstemp
(/usr/include/stdlib.h)

> 
> I strongly suspect that the gcc under cygwin is more strict, and that

I suspect misconfiguration.

> one is accidentally invoking an x::mkstemp that doesn't exist, instead
> of the one that would otherwise be defined in scope.  WHY this should
> be, I cannot say:  I was never a C++ programmer, and although I used
> to work almost exclusively in C, it has been many, many years since

This is C function and has nothing to do with C++.

> I've written in it, so I would be helpless to figure out why this is
> picking up neither the external declaration--nor, when I GIVE it an
> external declaration, finding the object code for the function in the
> library.
> 
> Please let me know precisely which list of files you wish me to provide you.
> 
> Nobody on this list, apparently, has built pdfedt under cygwin; I do
> see "thumbs-up" people on the sourceforge download page who claim to
> have done so."

Thanks
-- 
Michal Hocko

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Pdfedit-support mailing list
Pdfedit-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to