Quote:
Originally posted by GlassEyeSlim
Is the solution simply a matter of getting the compiler to look in the proper directory?
GES
|
hi,
no i don't think so
when i said earlier that c++ dir was in the wrong place i was wrong
those ../../../.. lead back to /usr/include
i mistook them for truncated long lines the way this board does with urls (sorry)
gcc really has a very fixed (hard coded) way of finding and using it's headers and libs.
the /usr/include/c++ files seem to be the wrong files (or a patch was left out ) but that's just a guess
try this just for fun
back up the file /usr/include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h
you know
cd /usr/include/c++/3.4.2/i386-redhat-linux/bits/
cp codecvt_specializations.h codecvt_specializations.h.OLD
then edit codecvt_specializations.h and move line 270
to the end of the line above it
start with
Code:
__iconv_adaptor(size_t(*__func)(iconv_t, _T, size_t*, char**, size_t*),
iconv_t __cd, char** __inbuf, size_t* __inbytes,
char** __outbuf, size_t* __outbytes)
change to
Code:
__iconv_adaptor(size_t(*__func)(iconv_t, _T, size_t*, char**, size_t*),
iconv_t __cd, char** __inbuf, size_t* __inbytes, char** __outbuf, size_t* __outbytes)
it's worth a try to see if you can fix it easily