Hi, Please can someone help with the following issues I am having:
I have some code which I am trying to port to to an AIX box and I am getting the infamous 'mbstate_t has not been declared error'. I upgraded the gcc version to 4.0.4 on my linux box and I have no problems there. However when I attempt to deploy the application to the AIX box running gcc version 4.0.0 I get the mbstate_t error mentioned above. I have tried numerous solutions I have found on the net but none have fixed the issue. What I'd like to know is why is this only occuring on the AIX system? Is there a simple way to fix this issue by upgrading the gcc compiler on the AIX box or by applying a patch? If not can someone please point me to a viable solution? Kind Regards Rod //----- Beginning of the compiler output sapuat /home/mqappl/PostLink-Put >>g++ -c -g ISSException.cpp -o ISSException.o /opt/freeware/lib/gcc/powerpc-ibm-aix5.1.0.0/4.0.0/include/wchar.h: 299: error: 'mbstate_t' has not been declared /opt/freeware/lib/gcc/powerpc-ibm-aix5.1.0.0/4.0.0/include/wchar.h: 302: error: 'mbstate_t' has not been declared /opt/freeware/lib/gcc/powerpc-ibm-aix5.1.0.0/4.0.0/include/c++/cwchar: 71: error: '::mbstate_t' has not been declared /opt/freeware/lib/gcc/powerpc-ibm-aix5.1.0.0/4.0.0/include/c++/cwchar: 145: error: '::btowc' has not been declared /opt/freeware/lib/gcc/powerpc-ibm-aix5.1.0.0/4.0.0/include/c++/cwchar: 150: error: '::fwide' has not been declared /opt/freeware/lib/gcc/powerpc-ibm-aix5.1.0.0/4.0.0/include/c++/cwchar: 151: error: '::fwprintf' has not been declared _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus