1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00
Commit Graph

7 Commits

Author SHA1 Message Date
daniel
f7094e1118 These days pcc defines __GNUC__ and we don't support gcc2. Also needed
for upcoming CompCert port.

Final version of the diff is from kettenis@ with input from jsg@ and tedu@.

ok kettenis@, jsg@, "I agree" millert@
2015-09-04 23:47:09 +00:00
guenther
acf82b0a9d lint is dead (long live the lint!), so stop using it as a cpp conditional
(namespace pollution!) or talking about its opinion on code.

ok krw@
2014-03-16 18:38:30 +00:00
guenther
5fdc311761 Teach lint about C99's _Bool and _Complex, plus some related gcc
extensions: __real__ and __imag__ operators, the use of '~' for
complex conjugation, and 'i' or 'j' as a suffix for complex constants.
While this doesn't handle folding and overflow detection for complex
constants correctly, it's good enough to make it through libm...and
found several bugs once it could do so.

"no objections" miod@, krw@
2010-07-24 22:17:03 +00:00
otto
780a6ae76a pcc knows _Bool. ok beck@ miod @millert 2007-10-02 14:06:16 +00:00
espie
139a1b9574 let stdbool.h work with recent gcc, since they modified the interface,
again...


okay millert@  a while back, needed some more paranoid testing from my
part...
2004-10-02 12:55:31 +00:00
espie
9e5915d456 Copyright... 1999-09-24 23:09:09 +00:00
espie
a85af4438d stdbool.h conforming to C9X 1999-09-24 22:33:10 +00:00