Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: C99 and EOL comments

Re: C99 and EOL comments

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 6 Aug 2009 20:13:57 +0200 (CEST)

On Thu, 6 Aug 2009, David Johnston wrote:

> Can anyone elaborate generally on why we stick with C89, and more
> specifically why EOL comments aren't allowed?

For me, it is a personal preference. I don't like //-comments. Like I have
personal preferences for where the braces should be and so on. And having a
unified look and style on the code is helpful.

As for C99 features, such as long long, dynamic array sizes and initing
structs with named fields, I think they're fine to use in Rockbox.

-- 
  / daniel.haxx.se
Received on 2009-08-06

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa