c files in subdirectories not being checked for linker errors??

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by wdawson61 on Tue May 03 15:31:21 MST 2011
[B]Lpcxpresso Linux 3.83
Linux 10.04
LPC1754 project

I have a project that has a main folder with source files as well subfolders that contain more source files.  If I place a syntactically-correct call to a non-existentfunction in one of the source files contained in a sub-folder, the executable is built with only a minor gripe about "implicit declaration."  If I place a syntax error in the module, the compiler sees it and no executable is built.

If, however, I place the same bogus function call (to a nonexistent function) in one of the source files of the main project folder, I get thet expected "reference to undefined function."