f



commenting errors flagged as warnings instead of errors

I'm using Visual C++ on Windows Vista.
Being "only human", I sometimes use
***************************************/   to underline a section of
code
instead of the correct  /************************************/    I'm
surprised by the fact that my mistake generates a warning rather than
an error.
How does the compiler understand
*************************/           ?

Thanks
0
Comp1597 (41)
4/8/2009 8:26:58 PM
comp.lang.c++ 49423 articles. 5 followers. Post Follow

1 Replies
2996 Views

Similar Articles

[PageSpeed] 51

On Apr 8, 10:26=A0pm, Comp1...@yahoo.co.uk wrote:
> I'm using Visual C++ on Windows Vista.
> Being "only human", I sometimes use
> ***************************************/ =A0 to underline a section of
> code
> instead of the correct =A0/************************************/ =A0 =A0I=
'm
> surprised by the fact that my mistake generates a warning rather than
> an error.
> How does the compiler understand
> *************************/ =A0 =A0 =A0 =A0 =A0 ?
>
> Thanks

Sorry, I was much too hasty.  It generates an error as well as a
warning.
Should have looked it over more carefully.
0
Comp1597 (41)
4/8/2009 8:28:41 PM
Reply: