I shall run the minimal build under cygwin 1.7.7 tonight, when I get
to my office, and shall e-mail the results to you privately,
rather than on the list.

When I looked for an earlier version, I found that there was a
precompiled binary of pdfedit for cygwin for an earlier version (4.*,
but I forget which one exactly, and I'm not at my office as I write
this).  I downloaded and ran this, without a problem, but have not yet
tried building THAT version.

I don't know if there have been successful cygwin builds since then,
and didn't see any "readme" files or other indications with the
pre-compiled version to indicate if any special steps were taken to
build it under cygwin.

However, at least now we know it's POSSIBLE, as O'Brien said to Winston Smith.

On Wed, Oct 27, 2010 at 5:54 AM, Michal Hocko <[email protected]> wrote:
> Can you try to remove also -std parameters from both variables?
> Btw. what if you compile the following program:
> test.c
> ===
> #include <stdlib.h>
>
> int main()
> {
>        mkstemp(NULL);
>        return 0;
> }
> ===
> Try the following tests:
> gcc -o test test.c
> g++ -o test test.c
> gcc -o test -posix test.c
> g++ -o test -posix test.c
> gcc -o test -posix -std=c99 test.c
> g++ -o test -posix -std=c++98 test.c
> gcc -o test -posix -std=c99 -ansi test.c
> g++ -o test -posix -std=c++98 -ansi test.c
>
> All tests pass on my Linux box. The only suspicious output is from:
> $ gcc -o test -posix -std=c99 test.c
> test.c: In function 'main':
> test.c:5: warning: implicit declaration of function 'mkstemp'
> But it linked correctly so the function is defined in the library just
> the header file needs some macro definitions. The funny thing is that
> -std=c99 -ansi combination doesn't print the warning.
> I am really interested in your test results.

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to