[CMake] Warning in CMake Git HEAD
Sean McBride
sean at rogue-research.com
Thu Sep 19 12:15:43 EDT 2013
On Thu, 19 Sep 2013 15:12:54 +0000, Williams, Norman K said:
>This looks like a simple typo. I could fix it and submit a gerrit topic,
>but I'm busy with other stuff for the moment.
>
>Or is this a typo imported from CURL?
>
>In file included from /scratch/kent/cmake/cmake/Utilities/cmcurl/http.c:99:
>/scratch/kent/cmake/cmake/Utilities/cmcurl/parsedate.h:1:9: warning:
>'__PARSEDATE_H' is used as a header guard here, followed
> by #define of a different macro [-Wheader-guard]
>#ifndef __PARSEDATE_H
> ^~~~~~~~~~~~~
>/scratch/kent/cmake/cmake/Utilities/cmcurl/parsedate.h:2:9: note:
>'__PARSEDATEL_H' is defined here; did you mean
> '__PARSEDATE_H'?
>#define __PARSEDATEL_H
> ^~~~~~~~~~~~~~
> __PARSEDATE_H
Strange that my dashboard is not showing this, I'll check on that. It does look like a typo. That's 3rd party code, right? Maybe it is fixed upstream? (Also, it's illegal to start an identifier with two underscores.)
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the CMake
mailing list