[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1107: Compiling with OpenBSD's gcc-4.2.1 produce
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1107: Compiling with OpenBSD's gcc-4.2.1 produces 2 warnings when compiling posixunix.c |
Date: |
Sat, 12 Nov 2016 19:59:18 -0000 |
#1107: Compiling with OpenBSD's gcc-4.2.1 produces 2 warnings when compiling
posixunix.c
---------------------------------------+--------------------
Reporter: ckeen | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 4.12.0
Component: core libraries | Version: 4.8.x
Resolution: | Keywords:
Estimated difficulty: medium |
---------------------------------------+--------------------
Comment (by sjamaan):
The GCC manual says:
{{{
gnu90
gnu89
GNU dialect of ISO C90 (including some C99 features). This
is the default for C code.
}}}
...
{{{
gnu11
gnu1x
GNU dialect of ISO C11. This is intended to become the
default in a future release of GCC.
The name gnu1x is deprecated.
}}}
According to the [https://gcc.gnu.org/gcc-5/changes.html GCC changelog],
GCC 5 already has this option by default. That probably means this
problem will go away as soon as OpenBSD updates to GCC 5 (or as soon as
they start using clang exclusively).
So instead of hardcoding what sounds like a GCC-specific option
(-std=gnuxx), maybe a better approach is to just ignore this warning
(because to me this warning sounds bogus, and fixing it is just yak
shaving).
C-Keen: Can you verify that the problem is gone if you use GCC 5 from
ports?
--
Ticket URL: <https://bugs.call-cc.org/ticket/1107#comment:8>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Chicken-janitors] #1107: Compiling with OpenBSD's gcc-4.2.1 produces 2 warnings when compiling posixunix.c,
Chicken Trac <=