ronnie sahlberg wrote:
I dont think it is really realistic to have all autogenerated files
always compile without any warnings.
Maybe we should instead split Makefile.common up into three parts :
First part : normal dissectors
Second part : ANS2WRS generated dissectors which take extra compile
time flags and definitions to suppress artefacts from the compiler.
Third part : PIDL generated dissectors that once again take extra
compile parameters and definitions.
Sounds like a reasonable solution. It would also have the advantage that
we get a list of generated dissectors, which we currently don't have.
But: Is there a "makefile magic", so you can have different CFLAGS
settings for the different lists? Remember that we are using implicit
rules here.
Having three lists shouldn't be difficult to add, but I don't know how
to get the "compile logic" for it - however, I'm really not an expert on
this.
If there's a solution for this makefile problem, I think it's the way to
go ...
Regards, ULFL