[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
badly sorted #include directives
From: |
Ben Pfaff |
Subject: |
badly sorted #include directives |
Date: |
Mon, 24 Apr 2006 14:05:25 -0700 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
gnulib-tool appears to blindly sort the list of #include
directives it prints. When the list contains #if...#endif, that
makes the output funny, e.g.:
You may need to add #include directives for the following .h files.
#endif
#if HAVE_MBRTOWC
#if HAVE_WCHAR_H && HAVE_WCTYPE_H
#include "c-ctype.h"
#include "c-strtod.h"
#include "error.h"
[...]
Of course, it's harmless, but it looks funny.
I don't know whether the problem is in gnulib-tool or the modules
that are sticking conditional inclusion directives in the list of
headers.
--
"I knew it was a bad sign when I drove through Hell (MI) on Wednesday
and there was snow on the ground and all the standing water had a
layer of ice on the surface... Yes folks, Hell has frozen over
and my cable modem *still* wasn't working..." --Ed Glowacki
- badly sorted #include directives,
Ben Pfaff <=