Add "%option noinput" to the scanners to avoid compiler warnings. GCC 4.3
Peter Eisentraut <peter_e@gmx.net>
Add "%option noinput" to the scanners to avoid compiler warnings. GCC 4.3 began to realize that the input() function isn't used and printed warnings.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/bootstrap/bootscanner.l | modified | +2 −1 |
| src/backend/parser/scan.l | modified | +2 −1 |
| src/backend/utils/misc/guc-file.l | modified | +2 −1 |
| src/bin/psql/psqlscan.l | modified | +2 −1 |
| src/interfaces/ecpg/preproc/pgc.l | modified | +2 −1 |
| src/pl/plpgsql/src/scan.l | modified | +2 −1 |