Re: [hatari-devel] Some findings

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On 2018-09-04 10:22, Nicolas Pomarède wrote:
> Le 04/09/2018 à 06:37, Thomas Huth a écrit :
>> On 2018-09-03 18:51, Nicolas Pomarède wrote:
[...]
> I don't know what minimal version of gcc we can expect on the various
> architecture where people are usually building Hatari ? (raspberry and
> so on).
> 
> Maybe gnu99 is just enough for now (or is there an equivalent or common
> syntax for clang too ?), as we don't intend to use all the newer C
> extension (neither use C++), just those that need changes when importing
> code from other projects.

I've done some more research: -std=gnu11 is available since GCC 4.7.
Considering that some people still might use older versions of GCC (e.g.
OpenBSD was stuck at 4.2 until a year ago, but now they switched to
Clang instead), gnu99 currently indeed seems to be the better choice
than gnu11.

 Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/