Bugzilla – Bug 135584
/usr/include/pcap.h: non-portable whitespace encountered at line 41
Last modified: 2005-11-28 10:27:46 UTC
While running makedepend. i got the following warnings: makedepend: warning: /usr/include/pcap.h: non-portable whitespace encountered at line 41 makedepend: warning: /usr/include/pcap.h: non-portable whitespace encountered at line 43 makedepend: warning: /usr/include/pcap.h: non-portable whitespace encountered at line 44 makedepend: warning: /usr/include/pcap.h: non-portable whitespace encountered at line 46 makedepend: warning: /usr/include/pcap.h: non-portable whitespace encountered at line 47 The problem are lines like that: #if defined(WIN32) #include <pcap-stdinc.h> #elif defined(MSDOS) removing the whitespace in front of #include silence the warning. ( see bug:135583)
This is perfectly OK as ANSI C89 allows this. Makedepend is just a relict from the pre-ANSI days.