From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rich Baum" To: gcc@gcc.gnu.org Subject: Trigraph warnings when compiling linux-2.4.0-prerelease1 Date: Mon, 01 Jan 2001 09:56:00 -0000 Message-id: <3A507E7C.4279.3313E2@localhost> X-SW-Source: 2001-01/msg00006.html I get the following warnings when compiling the latest linux kernel with the 20001225 gcc snapshot: gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict- prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe - mpreferred-stack-boundary=2 -march=k6 -c -o names.o names.c In file included from names.c:38: devlist.h:1278:33: warning: trigraph ??) ignored devlist.h:6370:25: warning: trigraph ??) ignored In file included from names.c:44: devlist.h:1278:33: warning: trigraph ??) ignored devlist.h:6370:25: warning: trigraph ??) ignored In file included from names.c:50: devlist.h:1278:33: warning: trigraph ??) ignored devlist.h:6370:25: warning: trigraph ??) ignored gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict- prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe - mpreferred-stack-boundary=2 -march=k6 -DMODULE - DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o imm.o imm.c imm.c:929:37: warning: trigraph ??) ignored imm.c:938:38: warning: trigraph ??) ignored The lines are as follows: devlist.h: line 1278: DEVICE(109e,036c,"Bt879(??) Video Capture") line 6370: VENDOR(2a15,"3D Vision(???)") imm.c: line 929: printk("imm: parity error (???)\n"); line 938: printk("imm: bad interrupt (???)\n"); >From looking at the code it is apparent to me that the authors of these files meant to print the string ??) and not the character ]. Is there a possible fix to remove these warnings or should I just ignore them? I felt this would be the appropriate list to send this to since it compiles without these warnings with egcs-1.1.2. Rich.