On Jan 30, 2008 4:10 AM, Martin Preuss <[EMAIL PROTECTED]> wrote:

> Hi,
>
> On Mittwoch, 30. Januar 2008, Christian Stimming wrote:
> > Quoting Charles Day <[EMAIL PROTECTED]>:
> [...]
> > > --- Style 6 ---
> > > // comment line 1
> > > // comment line 2
> > >
> > > My personal preference has always been style 6,
> >
> > Although my personal preference would be style 6, too, some older
> > compilers would still barf on those C++ / C99 comments. However, I'm
> > also not sure whether it is of any value to be considerate of non-C99
> > compilers (i.e. C89) as I think we have plenty of C99 constructs
> > already in the code.
> >
> > Definitely avoided should be style 3, and maybe to a lesser extent style
> 1.
> [...]
>
> I would definately avoid style 6 since some c compilers spit out warnings
> when
> these comments are used (e.g. on some distributions I get these warnings
> with
> gcc, too. It accepts those comments but still warns about those C++ style
> comments).
>
>
> Regards
> Martin
>

Are those warnings a problem, other than visual? There are already more than
750 lines of GnuCash code that use this style.


>
> --
> "Things are only impossible until they're not"
>
> Martin Preuss - http://www.aquamaniac.de/
> AqBanking - http://www.aqbanking.de/
> LibChipcard - http://www.libchipcard.de/
>
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to