DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2651
Version: 1.3-current


Looking at your posted error message: it says that strtol is defined twice
in the same file, effectively:

c:\mingw\include/stdlib.h:521:36: error: conflicting types for 'strtol'
c:\mingw\include/stdlib.h:329:38: note: previous declaration of 'strtol'
was here

I have:
$ grep -n strtol /mingw/include/*.h
/mingw/include/stdlib.h:324:long double __cdecl __MINGW_NOTHROW strtold
(const char * __restrict__, char ** __restrict__);
/mingw/include/stdlib.h:329:_CRTIMP long __cdecl __MINGW_NOTHROW       
strtol  (const char*, char**, int);
/mingw/include/stdlib.h:521:long long  __cdecl __MINGW_NOTHROW strtoll
(const char* __restrict__, char** __restrict, int);
/mingw/include/tchar.h:330:#define      _tcstol         strtol

In line #521, I see "strtoll" and NOT "strtol" !

---
Now, for testing only, I edited line #521 to read "strtol", and I got the
same message you got, but I got it for jpeg/jaricom.c since I am also
compiling the bundled image libs.

This means that either your stdlib.h file is broken, or you must have a
strange "#define strtoll strtol" or something similar somewhere.

Can you confirm this? I still don't know why it works with one or the
other configure file, though ...

(I don't think that posting the configure file might help much, since I
never tried to read or understand a configure file, but if someone else
wants to try it?)


Link: http://www.fltk.org/str.php?L2651
Version: 1.3-current

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

Reply via email to