How about also adding -Wshadow to check_and_add_compiler_option()? How do you generate documentation? With doxygen?
> On Mar 26, 2018, at 2:40 PM, Joerg Mayer <jma...@loplof.de> wrote: > > Hello, > > attache are four tiny patches to current git head of libpcap: > > 0001-Fix-warning-from-Wshadow.patch > 0002-Fix-warnnigs-from-Wdocumentation.patch > 0003-Allow-.devel-file-to-be-in-the-build-directory-in-ad.patch > 0004-Add-Wdocumentation-to-development-warnings.patch > > Patch 4 is kind of "unclean" as it still generates warnings in the generated > file > scanner.c on my system (current macos with current xcode). > > Please apply at least patches 1-3 (or some varation thereof). > > Thanks > Jörg > -- > Joerg Mayer <jma...@loplof.de> > We are stuck with technology when what we really want is just stuff that > works. Some say that should read Microsoft instead of technology. > <0001-Fix-warning-from-Wshadow.patch> > <0002-Fix-warnnigs-from-Wdocumentation.patch> > <0003-Allow-.devel-file-to-be-in-the-build-directory-in-ad.patch> > <0004-Add-Wdocumentation-to-development-warnings.patch> > _______________________________________________ > tcpdump-workers mailing list > tcpdump-workers@lists.tcpdump.org > https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers _______________________________________________ tcpdump-workers mailing list tcpdump-workers@lists.tcpdump.org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers