Xlint appears to have a bug. It issues many of these: warning: integral constant too large when in fact there is no such problem. Fix: It turns out that this is really a bug in gcc 2.7.2.1. Gcc -O fails to compile toicon() in lint1/cgram.c correctly. To work around this: 1. Build xlint normally. 2. Delete lint1/cgram.o. 3. In the top-level xlint directory say make CFLAGS= (define CFLAGS to be empty). This will recompile just lint1/cgram.c without optimization, giving you a new lint1/lint1. NOTE: You MUST do this from the top-level xlint directory, not from the lint1 subdirectory. 4. Install the new lint1 in /usr/libexec. How-To-Repeat: Run xlint (lint) on virtually any C source file.
State Changed From-To: open->suspended awaiting committer should possibly be sent to the gcc people instead.
State Changed From-To: suspended->closed From Bruce: -current already has a better workaround in rev.1.2 of lint1/cgram.y.