After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 60935 - C++ comments in C code
C++ comments in C code
Status: RESOLVED FIXED
Product: gmc
Classification: Deprecated
Component: general
unspecified
Other IRIX
: Normal normal
: ---
Assigned To: Unknown User
Unknown User
Depends on:
Blocks:
 
 
Reported: 2001-09-22 06:14 UTC by drk
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description drk 2001-09-22 06:14:57 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;
Comment 1 Andrew V. Samoilov 2001-10-25 13:41:36 UTC
Applied to CVS tree. Thank you.

Regards,
Andrew V. Samoilov.
Comment 2 Kjartan Maraas 2002-01-13 01:16:59 UTC
Close?
Comment 3 Andrew V. Samoilov 2002-01-13 13:57:27 UTC
Yes.