FLTK logo

STR #3049

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]

STR #3049

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:2 - Specific to an operating system
Subsystem:Core Library
Summary:'int _stricmp' redeclared as different kind of symbol
Version:1.3-current
Created By:bckpkol
Assigned To:AlbrechtS
Fix Version:1.3.3 (SVN: v10074)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 bckpkol
04:55 Feb 08, 2014
Host is i686-mingw-pc, or something like it.
$ gcc --version
gcc.exe (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

In file included from factory.cxx:33:0:
../src/flstring.h:43:37: error: 'int _stricmp' redeclared as different kind of s
ymbol
 #    define strcasecmp(s,t) _stricmp((s), (t))
                                     ^
factory.cxx:46:1: note: in expansion of macro 'strcasecmp'
 strcasecmp(const char *s, const char *t) {
 ^
In file included from ../FL/fl_utf8.h:34:0,
                 from ../FL/Fl.H:30,
                 from factory.cxx:27:
d:\mingw\include\string.h:81:37: error: previous declaration of 'int _stricmp(co
nst char*, const char*)'
 _CRTIMP int __cdecl __MINGW_NOTHROW _stricmp (const char*, const char*);
                                     ^
In file included from factory.cxx:33:0:
factory.cxx:46:12: error: expected primary-expression before 'const'
 strcasecmp(const char *s, const char *t) {
            ^
../src/flstring.h:43:39: note: in definition of macro 'strcasecmp'
 #    define strcasecmp(s,t) _stricmp((s), (t))
                                       ^
factory.cxx:46:12: error: expected ')' before 'const'
 strcasecmp(const char *s, const char *t) {
            ^
../src/flstring.h:43:39: note: in definition of macro 'strcasecmp'
 #    define strcasecmp(s,t) _stricmp((s), (t))
                                       ^
make[1]: *** [factory.o] Error 1
make: *** [all] Error 1
 
 
#2 AlbrechtS
10:18 Feb 08, 2014
Fixed in Subversion repository.

Thanks for the bug report.

This is a known issue, and it is already fixed in the subversion repository. Please use svn to access the latest version, or use a current snapshot like this one:

http://www.fltk.org/software.php?VERSION=fltk-1.3.x-r10095
 
 
#3 ianmacarthur
15:26 Sep 04, 2014
Fixed in Subversion repository.  
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.