Add FIXME explaining include problem.
[deliverable/binutils-gdb.git] / gdb / tui / tui-hooks.c
index 38cfc5721839ed21467667a944fee93b8b0100b0..27556acfd151528264c16022a1870ecc1a1b37fb 100644 (file)
@@ -1,5 +1,6 @@
 /* GDB hooks for TUI.
-   Copyright 2001 Free Software Foundation, Inc.
+
+   Copyright 2001, 2002 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-/* If we need <curses.h>, we must include it before we get "bfd.h".  */
+/* FIXME: cagney/2002-02-28: The GDB coding standard indicates that
+   "defs.h" should be included first.  Unfortunatly some systems
+   (currently Debian GNU/Linux) include the <stdbool.h> via <curses.h>
+   and they clash with "bfd.h"'s definiton of true/false.  The correct
+   fix is to remove true/false from "bfd.h", however, until that
+   happens, hack around it by including "config.h" and <curses.h>
+   first.  */
+
 #include "config.h"
 #ifdef HAVE_NCURSES_H
 #include <ncurses.h>
This page took 0.025057 seconds and 4 git commands to generate.