compilation - MinGW C++, multiple definition of `isspace' -


i'm having weird issue when i'm trying compile code in release mode using mingw32-g++.

||=== build: release in spel (compiler: gnu gcc compiler) ===| c:\program files(x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\libmsvcrt.a(dsnos00652.o)|| multiple definition of `isspace'| obj\release\assetreader.o:c:\program files(x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\..\include\ctype.h|162|first defined here| ||=== build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===| 

i have no idea do... i've tried moving every single #include tag assetreader.ccp file (which thing mentioned name). when build in debug it's fine.

the place included ctype.h i've removed. using glew library runs code (although deleting makes no difference)

/* <ctype.h> */ #if (defined(_msc_ver) || defined(__borlandc__)) && !defined(_wchar_t_defined) typedef unsigned short wchar_t; #  define _wchar_t_defined #endif 

and haven't created named isspace myself, use in few lines of code anyway.

very grateful can get, don't know if it's fault or bug of sort.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -