News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Dependency Checking & chaning of .h files.

Started by staloysius333, October 10, 2005, 05:23:44 PM

Previous topic - Next topic

rickg22

Thank you, but we'd appreciate it if the screenshots were legible the next time :lol:

Anyway, try to enable the "Full Commandline" logging in the compiler advanced options. Also, the compiler log can be copy / pasted with right-click.

grv575

Just reading through this, it sounds like the dependency checker checks .c .cpp etc files for #includes and ensures recompilation if any of them have changed.

But is this recursive?  If a header not directly #included in a .c .cpp file but (#included in an #included header), then does it catch this or no?

mandrav

As said before, of course it's recursive. But the compiler include dirs for the project must be setup correctly so that it can really locate the files...

I 've told it before: set the project include dirs correctly and it 'll work. The dependency checker does not follow global include dirs...
Be patient!
This bug will be fixed soon...

grv575

OK, but say I don't set the include dir for each file I include, but I add them to the project.  Will the recursive #include checking look here as well (I assume yes but just to be sure)?

mandrav

Quote from: grv575 on October 16, 2005, 01:28:58 AM
OK, but say I don't set the include dir for each file I include, but I add them to the project. Will the recursive #include checking look here as well (I assume yes but just to be sure)?


I 'll say it in a different way: dependency-checking is reliable and works as long as your project compiles without errors about missing #includes.
In other words:  if the compiler can find your files, C::B can too. The only difference is that C::B will not search in dirs defined in the global compiler options.

I hope it's clear enough now.
Be patient!
This bug will be fixed soon...

staloysius333

Cool,  now I begin to understand.  The project must be set up correctly & ! the Global prefs.  Ok, thanks.  That, I believe answers my ? and I'll certainly try that.

About the "unreadable" jpg. Sorry, but that's the biggest I could get it to be accepted by the site.  I only allows a 128k size pic and mine was acutally around 3k in size.  Ah well,

Thanks so much for the insight.  I'll certainly try it!  :D

--I also appreicate you patience & willingness to answer my ?'s.   8)

--Allen

thomas

Quote from: staloysius333 on October 17, 2005, 05:08:42 PM
About the "unreadable" jpg. Sorry, but that's the biggest I could get it to be accepted by the site.  I only allows a 128k size pic and mine was acutally around 3k in size.  Ah well,

Try www.imageshack.us next time :)

1024kb max. filesize, free of charge, plus it saves bandwidth and storage for the forums ;)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

staloysius333

Never heard of it!  Way cool & then I wouls suspose that I'd put in a link to it so that the pic can be seen.

Excellent!  :D

--Allen