GNOME Bugzilla – Bug 60935
C++ comments in C code
Last modified: 2004-12-22 21:47:04 UTC
Building mc/4.5.54 for SGI IRIX 6.5, the compiler pointed out a couple places where there were C++ style comments in C code: --- ./slang/slvideo.c Thu May 14 11:40:42 1998 +++ ../mc-4.5.54/./slang/slvideo.c Fri Sep 21 16:33:10 2001 @@ -1342,7 +1342,9 @@ case 14: newcolor = FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_INTENSITY; break; case 15: newcolor = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_INTENSITY; break; } + /* // switch + */ /* 0 1 2 3 @@ -1377,7 +1379,9 @@ case 14: newcolor |= BACKGROUND_GREEN | BACKGROUND_BLUE | BACKGROUND_INTENSITY; break; case 15: newcolor |= BACKGROUND_RED | BACKGROUND_GREEN | BACKGROUND_BLUE | BACKGROUND_INTENSITY; break; } + /* // switch + */ Color_Map [obj] = newcolor;
Applied to CVS tree. Thank you. Regards, Andrew V. Samoilov.
Close?
Yes.