comment style

Tim McDaniel mcdaniel at adi.com
Tue Jan 1 07:01:47 AEST 1991


With certain options, gcc and FlexeLint complain about `/*' within
comments.  In my coding style, these warnings are a sign of something
wrong.  Your milage may vary.  Prohibited where "void" is prohibited.

grep "^/\*\*/" works under csh and sh (SUN OS 4.1).  grep "^/\\*\\*/"
works under sh.  I don't know what the Adventure shell would do.
Further discussion by e-mail; it's not a C point, so I shouldn't have
commented on it in the first place.

--
Tim McDaniel                 Applied Dynamics Int'l.; Ann Arbor, Michigan, USA
Work phone: +1 313 973 1300                        Home phone: +1 313 677 4386
Internet: mcdaniel at adi.com                UUCP: {uunet,sharkey}!amara!mcdaniel



More information about the Comp.std.c mailing list