This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Need to include <sys/cygwin.h> to eliminate warnings in cppinit.c


I am trying to eliminate some gcc-3.0 bootstrap warnings on cygwin.  There
are a number of warnings compiling cppinit.c, for example:

/usr/local/src/gcc/gcc/cppinit.c: In function `init_standard_includes':
/usr/local/src/gcc/gcc/cppinit.c:800: warning: implicit declaration of
function `cygwin_posix_path_list_p'
/usr/local/src/gcc/gcc/cppinit.c:800: warning: implicit declaration of
function `cygwin_win32_to_posix_path_list_buf_size'

These come from the the macro GET_ENV_PATH_LIST in xm-cygwin.h

The cygwin*  functions are declared in /usr/include/sys/cygwin.h.  Can we
add #include <sys/cygwin.h> to xm-cygwin.h, or is something more subtle
required?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]