On Wed, 8 Aug 2012, Marc Balmer wrote:

> Am 08.08.12 09:05, schrieb Frederic Koehler:
[...]
>> -            if (stat(TtMntTab, &mount_table_stat)) {
>> +            // Must use lstat here; mtab is often a symlink
>
> I'd like to raise the question if we want such C++ style comments or if
> we shouldn't stick with pure C comments?  (Which I personally would
> prefer, so stay compatible with older compilers)
>
>

Well, this is a C++ file.  Using C++ comments in a C++ file is
certainly ok.

For regular C files, yes, use regular C-style commenting.

[...]
-- 
Jon Trulson

"If the Martian rope-a-dope don't get him, he'll get himself, he'll
  come in too fast and punch himself out."
              - one of my brothers, referring to the Curiosity landing.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to