Osiyo, I've been trying to get Codeblocks to decide to work for some time now. I finally got it to realize where the header files are located, and this mess is what popped up:
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\bits\stringfwd.h|44|error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\bits\stringfwd.h|47|error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\bits\stringfwd.h|50|error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\bits\stringfwd.h|54|error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\bits\stringfwd.h|56|error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\bits\stringfwd.h|59|error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\bits\stringfwd.h|61|error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cstddef|51|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cstddef|52|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|67|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|141|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|143|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|144|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|145|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|146|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|147|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|148|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|149|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|150|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|151|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|152|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|153|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|154|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|155|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|156|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|157|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|158|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|160|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|162|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|163|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|164|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|166|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|169|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|172|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|174|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|176|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|178|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|179|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|180|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|181|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|182|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|183|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|184|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|185|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|186|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|187|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|188|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|189|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|190|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++\cwchar|191|error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|
It appears to be related to this file, since it keeps popping up in a new tab when I try to build and run.
I'm trying to compile this, just to see if Codeblocks actually works. I've not seen much to say it does; it took me an hour to get it to this point on not-working.
Thus far, all it's done is make my nostalgic for the days when DevC++ was all I had, and since it pretty much worked, I had no problems with that. Since Dev C++ is no longer updated, and I'm in Win7 (and thus probably won't be able to get it to work anyway), I'm pretty much stuck with this, or Eclipse. And I've been trying to get Eclipse to at least leave an error message before it crashes.
So what am I looking at? I'm not a good programmer (I'm learning, and that's about the best I can say for it), and so as far as I can tell the stringfwd.h file is not written correctly. I don't want to try and fix it myself, because frankly I have no clue whats wrong, or even if my guess is remotely close. The code I'm using to test I double checked across two different books, just to make sure I've got that right.