A
Andrea Crotti
I tried for curiosity to run splint on my code (and other code) and I
found this for example:
--8<---------------cut here---------------start------------->8---
SerialForwarder.h:41: Name _SERIALFORWARDER_H_ is in the implementation name
space (any identifier beginning with underscore)
External name is reserved for system use by ISO C99 standard. (Use either
-isoreserved or -namechecks to inhibit warning)
--8<---------------cut here---------------end--------------->8---
So is that really wrong to put guards written like this in the header?
How else am I supposed to call the guards otherwise?
Thanks..
found this for example:
--8<---------------cut here---------------start------------->8---
SerialForwarder.h:41: Name _SERIALFORWARDER_H_ is in the implementation name
space (any identifier beginning with underscore)
External name is reserved for system use by ISO C99 standard. (Use either
-isoreserved or -namechecks to inhibit warning)
--8<---------------cut here---------------end--------------->8---
So is that really wrong to put guards written like this in the header?
How else am I supposed to call the guards otherwise?
Thanks..