[cc-devel] [ cctools-Patches-1781994 ] liblicense.0.4 - gcc -ansi
SourceForge.net
noreply at sourceforge.net
Sun Aug 26 08:19:03 EDT 2007
Patches item #1781994, was opened at 2007-08-26 12:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=559968&aid=1781994&group_id=80503
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: liblicense
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Peter Miller (pmiller)
Assigned to: Nobody/Anonymous (nobody)
Summary: liblicense.0.4 - gcc -ansi
Initial Comment:
This change set increases the portability of the C code - to compilers other than GCC - by avoiding post-1989 features of the C language definition. Yes: 18 years later and they STILL haven't caught up.
I haven't committed this to my repo yet, I'd like to know what folks think.
Personally, I'd rather be coding in C++, where mixed declarations and statements are OK. They make a lot of sense. Problem is that most compilers except GCC are, well, behind the times.
The no-c++ comments thing is important programmer psychology. It provides the reader with an almost subliminal clue that they are dealing with C, and not anything else.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=559968&aid=1781994&group_id=80503
More information about the cc-devel
mailing list