RE: [libsmi] C++ style comment in libsmi-0.2

Yes, later versions do accept C++ comments. It is still bad style to use C++ comments in C. Regards, Andrew Hood A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable. -- Leslie Lamport, as quoted in CACM, June 1992 "Any views or opinions presented are solely those of the author and do not necessarily represent those of the Westpac Banking Corporation."
-----Original Message----- From: jang@eis.comm.mot.com [mailto:jang@eis.comm.mot.com] Sent: Tuesday, March 21, 2000 4:18 AM To: libsmi@ibr.cs.tu-bs.de Subject: [libsmi] C++ style comment in libsmi-0.2
I am trying to build libsmi-0.2 on a Solaris 2.5.1 machine using gcc version 2.7.0 The "make" build terminates prematurely while building data.c The problem seems to be with a C++ style comment in data.h on lines 157-158. No other header or source file seems to have such comments.
Is this a known problem ? Do later versions of gcc allow such comments ?
Saurabh
participants (1)
-
HOOD, Andy