User forums > General (but related to Code::Blocks)

TDM's GCC 4.2.1 (now with iconv, Obj-C++ and Treelang)

<< < (5/7) > >>

raph:

--- Quote from: dwmcqueen on August 05, 2007, 10:15:36 pm ---C:/MinGW-4.2.1/include/c++/4.2.1/clocale:51:20: error: locale.h: No such file or directory

--- End quote ---
Does that file exist?
EDIT: i really need sleep :roll:

dwmcqueen:
locale.h???

I have a locale file (note with no extension) in the include/c++/4.2.1 folder off that package, but no locale.h

TDragon:

--- Quote from: dwmcqueen on August 05, 2007, 10:15:36 pm ---Any thoughts?

--- End quote ---
You forgot to install the mingw-runtime package? Make sure that there is a locale.h in <mingw>\include.

dwmcqueen:
I knew it was something I missed - thanks!

dwmcqueen:
Did notice this strange occurence - I was compiling the libcurl library and got this error:

In file included from C:/MinGW-4.2.1/include/stdio.h:407,
                 from C:\Projects\Third-Party\curl-7.16.4\lib\/setup.h:157,
                 from C:\Projects\Third-Party\curl-7.16.4\lib\connect.c:24:
C:/MinGW-4.2.1/include/sys/types.h:104: error: two or more data types in declaration specifiers
C:/MinGW-4.2.1/include/sys/types.h:104: warning: useless type name in empty declaration

The offending code in types.h is :

#ifndef   _NO_OLDNAMES
typedef _ssize_t ssize_t;
#endif
#endif /* Not _SSIZE_T_ */

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version