Bug #7144 2006-04-14 19:16

lgarrido

Custom makefile + Clicking on compiler errors

I am having problems trying to get the Build Messages window to jump to the offending line when a compilation error has occured.

This feature works well for pure C::B projects, but I have a somehow complex project with several folders and nested Makefiles. I have configured C::B to use custom Makefiles and fire up the top level Makefile for the default target and a subtarget to fire up the Makefile for a specific subfolder. Everything works as expected, save this feature.

The first cause for this behaviour I can think of is that the compiler error parser is always relating to the project top directory, so if a nested makefile exits with an error on file myfile.cpp, the build message window will think that myfile.cpp is in the top dir. Could be this the reason? I am trying to think of some workaround...

I am using the latest SVN (14/04/06) on Linux (Unicode, FC4, wxWidgets 2.6)

Luis

Category
Application::WrongBehaviour
Group
 
Status
Closed
Close date
2006-05-25 11:35
Assigned to
 
lgarrido 2006-04-14 20:56

Yup, it seems that a workaround is creating a C::B project per subfolder :-/

Mmm, well, it would be nice to be able to centralize everything in a sigle project file. Until that it is implemented (if it is a target feature at some point) I can use a workspace with several projects, I guess.

Thanks for all the fish :-)

mandrav 2006-05-25 11:35

The only way to help you is if you post a sample project with a custom Makefile.

Do it in a new topic at the forums: http://forums.codeblocks.org.