User forums > Using Code::Blocks
Missing cpp file doesn't break the build?!
oBFusCATed:
At the moment it is a warning (not showing in the build messages by the way),
I want it to be error, because if you hit "Rebuild All" the build will fail with:
--- Code: ---g++: .obj/tests/debug/src/myfile.o: There is no such file or directory
--- End code ---
If it is an error, C::B would detect the problem (the source file is missing) earlier.
--- Quote from: MortenMacFly on January 24, 2010, 04:43:34 pm ---Because probably you only have the object file. And then it wouldn't be an error.
--- End quote ---
This is another case and should be handled differently -> you add the object file to the project or in the Linker settings (the former looks more like the correct way).
Navigation
[0] Message Index
[*] Previous page
Go to full version