Compiler mismatch between <ios> header and iOS directory

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
User avatar
Mikachu
Gnoll
Posts: 603
Joined: Thu Jul 28, 2005 4:11 pm
Location: Nice, France
x 35

Compiler mismatch between <ios> header and iOS directory

Post by Mikachu »

Hi,

When running GCCXML on windows against Ogre, I faced 2 issues :
1. GCCXML is GCC 4.2 based, which is incorrectly stated in compiler directives.
There's an easy fix for that, as GCCXML provides extra directives, soon I'll make a pull request for this :)

2. OgreMain\include\iOS is mismatched with <ios> std header.
That's probably because on windows, there's no upper/lower-case distinction.
But in several std headers, there are #include <ios> calls that fail because of that (for example, <mingw_dir>\lib\gcc\mingw32\4.7.2\include\c++\ostream).
In order to "make it work" locally, I renamed "ios" to "apple_ios" and GCCXML did not complain anymore, but I wonder if it's the right solution...

So, before I commit this one and make a pull request for it, is there a cleaner way to handle this?
OgreProcedural - Procedural Geometry for Ogre3D
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: Compiler mismatch between <ios> header and iOS directory

Post by masterfalcon »

I don't understand how #2 can be a problem. <ios> is referencing a file, while iOS is a directory. What is the exact error that you're getting?
User avatar
Mikachu
Gnoll
Posts: 603
Joined: Thu Jul 28, 2005 4:11 pm
Location: Nice, France
x 35

Re: Compiler mismatch between <ios> header and iOS directory

Post by Mikachu »

The errors I see is :

Code: Select all

In file included from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iterator:64,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/backward/hashtable.h:64,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ext/hash_map:65,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgreStdHeaders.h:47,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgrePrerequisites.h:328,
                 from E:\Prog\Libs\ogre19\OgreMain\include\Ogre.h:31:
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream:40:15: error: E:/Prog/Libs/ogre19/OgreMain/include/ios: Permission denied
In file included from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iterator:65,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/backward/hashtable.h:64,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ext/hash_map:65,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgreStdHeaders.h:47,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgrePrerequisites.h:328,
                 from E:\Prog\Libs\ogre19\OgreMain\include\Ogre.h:31:
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/istream:40:15: error: E:/Prog/Libs/ogre19/OgreMain/include/ios: Permission denied
In file included from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/fstream:44,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgreStdHeaders.h:76,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgrePrerequisites.h:328,
                 from E:\Prog\Libs\ogre19\OgreMain\include\Ogre.h:31:
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/mingw32/bits/basic_file.h:42:15: error: E:/Prog/Libs/ogre19/OgreMain/include/ios: Permission denied
In file included from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iterator:64,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/backward/hashtable.h:64,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ext/hash_map:65,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgreStdHeaders.h:47,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgrePrerequisites.h:328,
                 from E:\Prog\Libs\ogre19\OgreMain\include\Ogre.h:31:
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream:379: error: 'struct std::ios_base::seekdir' has not been declared
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream: In member function 'void std::basic_ostream<_CharT, _Traits>::_M_write(const _CharT*, std::streamsize)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream:313: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream: In destructor 'std::basic_ostream<_CharT, _Traits>::sentry::~sentry()':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream:429: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream:433: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream: In function 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream:514: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream: In function 'std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream:531: error: incomplete type 'std::ios_base' used in nested name specifier
In file included from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream:607,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iterator:64,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/backward/hashtable.h:64,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ext/hash_map:65,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgreStdHeaders.h:47,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgrePrerequisites.h:328,
                 from E:\Prog\Libs\ogre19\OgreMain\include\Ogre.h:31:
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc: In constructor 'std::basic_ostream<_CharT, _Traits>::sentry::sentry(std::basic_ostream<_CharT, _Traits>&)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:59: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc: In member function 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::_M_insert(_ValueT)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:71: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:71: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:76: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:76: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:80: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:84: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:85: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc: In member function 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:98: error: 'fmtflags' in class 'std::ios_base' does not name a type
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:99: error: '__fmt' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:99: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:99: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc: In member function 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:112: error: 'fmtflags' in class 'std::ios_base' does not name a type
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:113: error: '__fmt' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:113: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:113: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc: In member function 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_streambuf<_CharT, _Traits>*)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:124: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:124: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:131: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:131: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:135: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:139: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:142: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:142: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:143: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc: In member function 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::put(_CharT)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:162: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:162: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:167: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:167: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:171: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:175: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:176: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc: In member function 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::write(const _CharT*, std::streamsize)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:201: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:205: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc: In member function 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::flush()':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:218: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:218: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:222: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:222: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:226: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:230: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:231: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc: In member function 'typename std::basic_ostream<_CharT, _Traits>::pos_type std::basic_ostream<_CharT, _Traits>::tellp()':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:245: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:245: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:249: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:253: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc: In member function 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::seekp(typename _Traits::pos_type)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:262: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:262: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:270: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:274: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:274: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:279: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:283: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:284: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc: At global scope:
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:292: error: 'struct std::ios_base::seekdir' has not been declared
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc: In member function 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::seekp(typename _Traits::off_type, int)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:294: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:294: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:302: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:306: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:306: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:311: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:315: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:316: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc: In function 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:326: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:349: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:353: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iosfwd: At global scope:
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iosfwd: In instantiation of 'std::basic_ostream<char, std::char_traits<char> >':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:361:   instantiated from here
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:88: error: invalid use of incomplete type 'struct std::basic_ios<char, std::char_traits<char> >'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:79: error: declaration of 'struct std::basic_ios<char, std::char_traits<char> >'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iosfwd: In instantiation of 'std::basic_ostream<wchar_t, std::char_traits<wchar_t> >':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/ostream.tcc:384:   instantiated from here
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:88: error: invalid use of incomplete type 'struct std::basic_ios<wchar_t, std::char_traits<wchar_t> >'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:79: error: declaration of 'struct std::basic_ios<wchar_t, std::char_traits<wchar_t> >'
In file included from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iterator:65,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/backward/hashtable.h:64,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ext/hash_map:65,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgreStdHeaders.h:47,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgrePrerequisites.h:328,
                 from E:\Prog\Libs\ogre19\OgreMain\include\Ogre.h:31:
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/istream:600: error: 'struct std::ios_base::seekdir' has not been declared
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iosfwd: In instantiation of 'std::basic_istream<char, std::char_traits<char> >':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/istream:616:   instantiated from here
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:85: error: invalid use of incomplete type 'struct std::basic_ios<char, std::char_traits<char> >'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:79: error: declaration of 'struct std::basic_ios<char, std::char_traits<char> >'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iosfwd: In instantiation of 'std::basic_istream<wchar_t, std::char_traits<wchar_t> >':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/istream:632:   instantiated from here
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:85: error: invalid use of incomplete type 'struct std::basic_ios<wchar_t, std::char_traits<wchar_t> >'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iosfwd:79: error: declaration of 'struct std::basic_ios<wchar_t, std::char_traits<wchar_t> >'
In file included from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/istream:873,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/iterator:65,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/backward/hashtable.h:64,
                 from e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ext/hash_map:65,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgreStdHeaders.h:47,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgrePrerequisites.h:328,
                 from E:\Prog\Libs\ogre19\OgreMain\include\Ogre.h:31:
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In constructor 'std::basic_istream<_CharT, _Traits>::sentry::sentry(std::basic_istream<_CharT, _Traits>&, bool)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:51: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:51: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:56: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:64: error: incomplete type 'std::ctype_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:72: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:72: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:76: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:76: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:80: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::_M_extract(_ValueT&)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:94: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:94: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:98: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:102: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:106: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:107: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:123: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:123: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:128: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:134: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:139: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:147: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:151: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:152: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:168: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:168: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:173: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:179: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:184: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:192: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:196: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:197: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_streambuf<_CharT, _Traits>*)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:208: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:208: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:216: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:216: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:218: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:218: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:222: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:226: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:229: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:229: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:230: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'typename std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::get()':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:243: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:243: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:254: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:254: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:258: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:262: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:265: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:265: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:266: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(_CharT&)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:277: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:277: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:291: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:291: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:295: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:299: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:302: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:302: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:303: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(_CharT*, std::streamsize, _CharT)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:314: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:314: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:334: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:334: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:338: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:342: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:349: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:349: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:350: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(std::basic_streambuf<_CharT, _Traits>&, _CharT)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:361: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:361: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:382: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:382: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:386: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:390: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:393: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:393: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:394: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::getline(_CharT*, std::streamsize, _CharT)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:405: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:405: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:425: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:425: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:434: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:434: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:439: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:443: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:450: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:450: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:451: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore()':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:468: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:468: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:475: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:475: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:481: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:485: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:486: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore(std::streamsize)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:501: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:501: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:539: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:539: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:543: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:547: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:548: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore(std::streamsize, typename _Traits::int_type)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:563: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:563: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:597: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:597: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:608: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:612: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:613: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'typename std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::peek()':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:629: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:629: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:634: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:634: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:638: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:642: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:643: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::read(_CharT*, std::streamsize)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:658: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:658: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:663: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:663: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:663: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:667: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:671: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:672: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::streamsize std::basic_istream<_CharT, _Traits>::readsome(_CharT*, std::streamsize)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:687: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:687: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:695: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:695: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:699: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:703: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:704: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::putback(_CharT)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:719: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:723: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:723: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:730: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:730: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:734: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:738: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:739: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::unget()':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:754: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:758: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:758: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:765: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:765: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:769: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:773: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:774: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'int std::basic_istream<_CharT, _Traits>::sync()':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:791: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:791: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:798: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:798: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:805: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:809: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:810: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'typename std::basic_istream<_CharT, _Traits>::pos_type std::basic_istream<_CharT, _Traits>::tellg()':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:830: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:831: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:835: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:839: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::seekg(typename _Traits::pos_type)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:852: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:856: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:856: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:863: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:867: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:867: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:872: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:876: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:877: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: At global scope:
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:886: error: 'struct std::ios_base::seekdir' has not been declared
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::seekg(typename _Traits::off_type, int)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:891: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:895: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:895: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:902: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:906: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:906: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:911: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:915: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:916: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:933: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:933: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:940: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:940: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:940: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:944: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:948: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:949: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT*)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:966: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:966: error: expected `;' before '__err'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:985: error: incomplete type 'std::ctype_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:993: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:993: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:1002: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:1006: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:1009: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:1009: error: incomplete type 'std::ios_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:1010: error: '__err' was not declared in this scope
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::ws(std::basic_istream<_CharT, _Traits>&)':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:1031: error: incomplete type 'std::ctype_base' used in nested name specifier
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/istream.tcc:1035: error: incomplete type 'std::ios_base' used in nested name specifier
In file included from E:\Prog\Libs\ogre19\OgreMain\include\/OgreRenderSystemCapabilities.h:34,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgreTechnique.h:37,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgreRenderQueueSortingGrouping.h:35,
                 from E:\Prog\Libs\ogre19\OgreMain\include\/OgreRenderQueueInvocation.h:32,
                 from E:\Prog\Libs\ogre19\OgreMain\include\Ogre.h:84:
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h: At global scope:
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:75: error: 'struct std::ios::fmtflags' has not been declared
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:85: error: 'struct std::ios::fmtflags' has not been declared
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:90: error: 'struct std::ios::fmtflags' has not been declared
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:97: error: 'struct std::ios::fmtflags' has not been declared
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:104: error: 'struct std::ios::fmtflags' has not been declared
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:125: error: 'struct std::ios::fmtflags' has not been declared
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:129: error: 'struct std::ios::fmtflags' has not been declared
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:134: error: 'struct std::ios::fmtflags' has not been declared
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:75: error: incomplete type 'std::ios' used in nested name specifier
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:85: error: incomplete type 'std::ios' used in nested name specifier
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:90: error: incomplete type 'std::ios' used in nested name specifier
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:97: error: incomplete type 'std::ios' used in nested name specifier
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:104: error: incomplete type 'std::ios' used in nested name specifier
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:125: error: incomplete type 'std::ios' used in nested name specifier
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:129: error: incomplete type 'std::ios' used in nested name specifier
E:\Prog\Libs\ogre19\OgreMain\include\/OgreStringConverter.h:134: error: incomplete type 'std::ios' used in nested name specifier
In file included from E:\Prog\Libs\ogre19\OgreMain\include\Ogre.h:126:
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream: In function 'std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*) [with _Traits = std::char_traits<char>]':
E:\Prog\Libs\ogre19\OgreMain\include\/OgreMath.h:88:   instantiated from here
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream:531: error: 'struct std::basic_ostream<char, std::char_traits<char> >' has no member named 'setstate'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/sstream: In constructor 'std::basic_stringstream<_CharT, _Traits, _Alloc>::basic_stringstream(std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
E:\Prog\Libs\ogre19\OgreMain\include\/OgreCommon.h:786:   instantiated from here
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/sstream:520: error: 'struct std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >' has no member named 'init'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream() [with _CharT = char, _Traits = std::char_traits<char>]':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/istream:825:   instantiated from 'std::basic_iostream<_CharT, _Traits>::basic_iostream() [with _CharT = char, _Traits = std::char_traits<char>]'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/sstream:519:   instantiated from 'std::basic_stringstream<_CharT, _Traits, _Alloc>::basic_stringstream(std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
E:\Prog\Libs\ogre19\OgreMain\include\/OgreCommon.h:786:   instantiated from here
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/istream:606: error: 'struct std::basic_istream<char, std::char_traits<char> >' has no member named 'init'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream: In constructor 'std::basic_ostream<_CharT, _Traits>::basic_ostream() [with _CharT = char, _Traits = std::char_traits<char>]':
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/istream:825:   instantiated from 'std::basic_iostream<_CharT, _Traits>::basic_iostream() [with _CharT = char, _Traits = std::char_traits<char>]'
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/sstream:519:   instantiated from 'std::basic_stringstream<_CharT, _Traits, _Alloc>::basic_stringstream(std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
E:\Prog\Libs\ogre19\OgreMain\include\/OgreCommon.h:786:   instantiated from here
e:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/ostream:383: error: 'struct std::basic_ostream<char, std::char_traits<char> >' has no member named 'init'
I only get these errors with gccxml, not mingw itself when compiling ogre.

Steps to reproduce :
- pull latest version of gccxml, and compile it with latest stable mingw
- ogre branch 1.9 latest
- apply the following patch on Ogre for correct version detection (note : it's the "quick hack" version, I'll rewrite it later)

Code: Select all

diff -r f8bd0e2ceab6 OgreMain/include/OgrePlatform.h
--- a/OgreMain/include/OgrePlatform.h	Wed Apr 17 10:26:08 2013 -0500
+++ b/OgreMain/include/OgrePlatform.h	Sun Apr 21 10:15:27 2013 +0200
@@ -73,9 +73,7 @@
         __clang_patchlevel__)
 #elif defined( __GNUC__ )
 #   define OGRE_COMPILER OGRE_COMPILER_GNUC
-#   define OGRE_COMP_VER (((__GNUC__)*100) + \
-        (__GNUC_MINOR__*10) + \
-        __GNUC_PATCHLEVEL__)
+#   define OGRE_COMP_VER 420
 #elif defined( __BORLANDC__ )
 #   define OGRE_COMPILER OGRE_COMPILER_BORL
 #   define OGRE_COMP_VER __BCPLUSPLUS__
- run the following command :
<path to gccxml>\bin\gccxml.exe -I<path to Ogre>\include -I<path to Ogre>\OgreMain\include <path to Ogre>\OgreMain\include\Ogre.h -fxml=ogregccxml.xml 1> out.log 2>err.log
- the above command fails with the message at the beginning of this post.
- If OgreMain\include\iOS is renamed to OgreMain\include\AppleiOS, the command succeeds and ogregccxml.xml is created :)
OgreProcedural - Procedural Geometry for Ogre3D