[Patches] [ python-Patches-835100 ] C++ comments invalid in C source files

SourceForge.net noreply at sourceforge.net
Mon Nov 3 16:40:01 EST 2003


Patches item #835100, was opened at 2003-11-03 07:52
Message generated for change (Comment added) made by greg
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=835100&group_id=5470

Category: Modules
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: The Written Word (Albert Chin) (tww-china)
Assigned to: Gregory P. Smith (greg)
Summary: C++ comments invalid in C source files

Initial Comment:
The IBM C compiler does not like C++ comments in C
source files.

----------------------------------------------------------------------

>Comment By: Gregory P. Smith (greg)
Date: 2003-11-03 13:40

Message:
Logged In: YES 
user_id=413

Applied to both HEAD (2.4cvs) and release23-branch.  Could
we have the python configure script tell gcc to disallow C++
comments in .c files to catch these mistakes earlier?

----------------------------------------------------------------------

Comment By: Jeremy Hylton (jhylton)
Date: 2003-11-03 12:07

Message:
Logged In: YES 
user_id=31392

Python coding standards don't like 'em either.  Easy to fix.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=835100&group_id=5470



More information about the Patches mailing list