> > I notice that the fltk3 build is currently borked on linux and winXX:
> >
> > For example, from a Win32/Msys/mingw build I get:
> >
> > $ make
> > === making src ===
> > Compiling fltk3/CheckBrowser.cxx...
> > In file included from ../include/fltk3/run.h:39:0,
> >                 from ../include/fltk3/CheckBrowser.h:34,
> >                 from fltk3/CheckBrowser.cxx:32:
> > ../include/fltk3/utf8.h:190:20: error: expected primary-expression
> before 'const'
> > ../include/fltk3/utf8.h:190:20: error: expected ')' before 'const'
> > ../include/fltk3/utf8.h:193:20: error: expected primary-expression
> before 'const'
> > ../include/fltk3/utf8.h:193:20: error: expected ')' before 'const'
> > make[1]: *** [fltk3/CheckBrowser.o] Error 1
> > make: *** [all] Error 1
> >
> >
> >
> > Also, looking at Jenkins, I notice that the OSX MacBook target is
> offline.
> >
> > I guess Matt took it on his travels with him!  :-)
> 
> Ahh, the MacBook probably barfed. I can't reach it ATM though. 

Well, I guess that means you didn’t take it with you on a travel then!



> Hmm, is
> there something wrong about the 'const'? Is it a newer C dialect?


I can't see what is wrong; here's the failing lines (190) -

  FLTK3_EXPORT int strncasecmp(const char *s1, const char *s2, int n);

and (193)
  
  FLTK3_EXPORT int strcasecmp(const char *s1, const char *s2);

Which look fine - there are many other lines in the same file that look similar 
and work OK, e.g. just above the failing line, at line 181, we have:

  FLTK3_EXPORT char *locale_to_utf8(const char *s, int len, unsigned int 
codepage);

which compiles without issue and uses const char* as a type.

I wonder if its some weird thing with "strncasecmp" being expanded by some 
macro or other so that the code that is compiled is not what it appears to be 
at all!?

Other than that, a bit lost...



SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to