00:00
00:00
View Profile kiwi-kiwi
My two passions are gaming and programming and my hobby is combining them.

Age 34, Male

Student

Polytechnic University

Joined on 3/6/09

Level:
9
Exp Points:
735 / 900
Exp Rank:
89,184
Vote Power:
5.09 votes
Rank:
Scout
Global Rank:
44,070
Blams:
61
Saves:
141
B/P Bonus:
4%
Whistle:
Normal
Medals:
1,217

Weird gnu compiler error

Posted by kiwi-kiwi - January 2nd, 2011


It's not the first time I got this problem and it's probably not going to be the last because I keep forgetting about it for some reason, so I thought I posted about it here because it might help me remember and who knows maybe help someone else someday.

Anyway if you ever find yourself trying to use gcc to compile some file and you get two pages full of errors it's probably because you are trying to compile a .cpp .cc or .cxx or any file that doesn't end in a .c apparently.

Wish it would just say: yo wrong compiler, use g++ or whatever


Comments

Comments ain't a thing here.