2.8.3 crashes under IRIX [was: not compiling on IRIX... strtoull issue?]

defreitas at gmail.com defreitas at gmail.com
Sat May 12 10:01:57 PDT 2007


On May 11, 6:19 pm, v... at wxwindows.org (Vadim Zeitlin) wrote:
> On 11 May 2007 15:04:34 -0700 defrei... at gmail.com wrote:
>  Probably but I don't understand what has changed since your previous
> attempts: why did it work before?

I was wondering about this myself, but then I remembered that this
time around I specified the -c99 switch to the C compiler (via the
CFLAGS symbol in configure). I had to specify -c99 because even though
wxWidgets is not dependent on C99, it uses header files from gtk/glib
that does. Using a newer version of gtk/glib, I ran into compilation
errors with syntax like:

#define mymacro(...) my macro def

The compilation problems in the gtk/glib headers regarding the "..."
arg in a macro went away when I specified -c99 to the C compiler.

I suspect that specifing -c99 allowed configure to find more system/
native versions of C functions (which, again, do not compile under C+
+).

I think I looked at the man pages for the C++ compiler trying to find
a C99 compatibility mode but could not find any. I will look again
when I go back to work on Monday.

> In the meanwhile you can just comment out
> "#define HAVE_VA_COPY" in
> lib/wx/*/include/wx/setup.h in your build directory.

I will do this on Monday and report back. Thats for the continued
help.

Regards,
Marco







More information about the wx-users mailing list