Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Aug 2016 12:03:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212138] devel/cdecl: Needs to be compiled in ANSI C (C89) mode
Message-ID:  <bug-212138-13-oEaja6i3Qk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212138-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212138-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212138

Dmitry Marakasov <amdmi3@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Closed
         Resolution|---                         |Not A Bug
           Assignee|freebsd-ports-bugs@FreeBSD. |amdmi3@FreeBSD.org
                   |org                         |

--- Comment #7 from Dmitry Marakasov <amdmi3@FreeBSD.org> ---
> It is likely that the configuration is somehow incorrect.

Rather it is unsupported. It works correctly on ports level:

% make -V CFLAGS
-O3 -march=3Dnocona  -fstack-protector -fno-strict-aliasing -std=3Dc89

however upstream Makefile sucks in /etc/make.conf again, and whole CFLAGS a=
re
replaced with just -O3, and -std=3Dc89 is lost. You could try something lik=
e:

.if ${.CURDIR:H:H} =3D=3D "/usr/ports"
CFLAGS=3D         -O3
.endif

instead.

> this seems not very good.

There's no problem in this code.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212138-13-oEaja6i3Qk>