Menu

#60 Remove extra semicolons: extra ';' outside of a function is incompatible with C++98

Unstable (example)
closed-fixed
None
5
2019-06-10
2019-05-30
Sorin Jianu
No

Hi, this patch removes the extra semicolon after the end closing brace of a namespace definition. When building WTL inside Chrome, CLang generates the following warning:
error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]

An extra semicolon has also been removed at line 155: DECLARE_TRACE_CATEGORY(atlTraceUI)

Please take a look, thank you!

1 Attachments

Discussion

  • Nenad Stefanovic

    • assigned_to: Nenad Stefanovic
     
  • Nenad Stefanovic

    Thanks! It is funny that all those smicolons are there for no reason

     
  • Nenad Stefanovic

    • status: open --> closed-fixed
     

Anonymous
Anonymous

Add attachments
Cancel