fltk check or enum quest

Marco Atzeri marco.atzeri@gmail.com
Wed Mar 12 19:12:00 GMT 2014


I am hitting a gcc/fltk craziness, and I have no clue what to look for.

The attached example is extracted from octave configure log,
and I am almost sure that nor the test nor the fltk header
are changed at all recently.

Could someone with libfltk-devel installed try

$ . ./conftest.sh

my current result is:
--------------------------------------
In file included from /usr/include/FL/gl.h:45:0,
                  from conftest.c:2:
/usr/include/FL/Enumerations.H:525:1: error: unknown type name ‘Fl_Boxtype’
  extern FL_EXPORT Fl_Boxtype fl_define_FL_ROUND_UP_BOX();
  ^
/usr/include/FL/Enumerations.H:528:1: error: unknown type name ‘Fl_Boxtype’
  extern FL_EXPORT Fl_Boxtype fl_define_FL_SHADOW_BOX();
-------------------------------------------

but Fl_Boxtype is defined as enum type on the same file

    /usr/include/FL/Enumerations.H

at line 473.

What I am missing ?

Thanks in advance
Marco

-------------- next part --------------

#include <FL/gl.h>

#  ifdef __cplusplus
     extern "C"
#  endif

int
main ()
{

        int nothing = 0;

  ;
  return 0;
}

-------------- next part --------------
gcc -c -ggdb -O2 -Wimplicit-function-declaration  -ggdb -O2 -pipe -Wimplicit-function-declaration  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT  conftest.c -o conftest.o

-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list