This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: excessive stab information


>   Why don't you sort out the search path in the makefile so that the
> publishing library also finds the public interface header 
> first?  That would
> be good practice and achieve the desired consistency.
> 

'cos it doesn't work. Consider the case where we have a directory that
publishes bar.h to foo/bar.h. In the source directory, the cpp files
#include "bar.h". In other directories, users #include "foo/bar.h". If
the source file was also #including a currently private header file
"fred.h", that header file can be published later without the need to
change existing source.

Your suggestion does give rise to the possibility of putting the root of
our tree in the #include path but then we don't get the benefit of
published/not published headers.

-- 
Andy, BlueArc Engineering


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]