When I try to compile code that include curses.h on IRIX, g++ chokes on the
"fixed" curses.h, producing errors like:

/appl/local_sde_dev/IRIX64-6.5/gcc-4.3.2/bin/../lib/gcc/mips-sgi-irix6.5/4.3.2/include-fixed/curses.h:1294:
error: declaration of C function 'int mvwprintw(WINDOW*, int, int, ...)'
conflicts with
/appl/local_sde_dev/IRIX64-6.5/gcc-4.3.2/bin/../lib/gcc/mips-sgi-irix6.5/4.3.2/include-fixed/curses.h:300:
error: previous declaration 'int mvwprintw(WINDOW*, int, int, char*, ...)' here


-- 
           Summary: improper fix to curses.h on irix
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Jay dot St dot Pierre at Colorado dot EDU
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38266

Reply via email to