* Steve Langasek [2012-02-14 09:29 -0800]:
> Where we've run across similar problems with posix_types.h in the recent
> past, it has indeed been due to the use of "gcc -I-".

Drafts of the C89 and C11 standards read:
| A preprocessing directive of the form
|   # include "q-char-sequence" new-line
| causes ...  If this search is not supported, or if the search fails,
| the directive is reprocessed as if it read
|   # include <h-char-sequence> new-line
| with the identical contained sequence (...) from the original
| directive.

GCC's texinfo documentation (for version 4.4) of both options, -I- and
-iquote, doesn't seem to contain anything that would contradict the
above.

> ultimately though I think this is a bug in linux-libc-dev for using
> #include "" here.

Or it is a bug in the preprocessor, i.e., gcc?


Carsten


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120215230448.ga16...@furrball.stateful.de

Reply via email to