0

Hey Everybody,
I keep getting these warnings when I compile my program:

19: warning: extra tokens at end of #ifndef directive
19: warning: missing whitespace after the macro name

both apply to the same line number, which has nothing to do with the ifndef statement. I tried looking for an obvious solution, but could not find one. Any hints would be great.

Thanks!

3
Contributors
3
Replies
5
Views
10 Years
Discussion Span
Last Post by Leon_Alone
0

I had same problem. It solved by renaming define name of header file. Example:
#ifndef PLOTTER.H -> #ifndef PLOTTER_H

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.