pgsql: Add "%option noinput" to the scanners to avoid compiler warnings. - Mailing list pgsql-committers

From petere@postgresql.org (Peter Eisentraut)
Subject pgsql: Add "%option noinput" to the scanners to avoid compiler warnings.
Date
Msg-id 20080509153631.B959A7559E9@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/bootstrap:
        bootscanner.l (r1.45 -> r1.46)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/bootstrap/bootscanner.l?r1=1.45&r2=1.46)
    pgsql/src/backend/parser:
        scan.l (r1.143 -> r1.144)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/scan.l?r1=1.143&r2=1.144)
    pgsql/src/backend/utils/misc:
        guc-file.l (r1.54 -> r1.55)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc-file.l?r1=1.54&r2=1.55)
    pgsql/src/bin/psql:
        psqlscan.l (r1.24 -> r1.25)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/psqlscan.l?r1=1.24&r2=1.25)
    pgsql/src/interfaces/ecpg/preproc:
        pgc.l (r1.163 -> r1.164)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/pgc.l?r1=1.163&r2=1.164)
    pgsql/src/pl/plpgsql/src:
        scan.l (r1.61 -> r1.62)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/scan.l?r1=1.61&r2=1.62)

pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql: Have numeric 0 ^ 4.3 return 1, rather than an error, and have 0 ^
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Give a warning if -s switch is used with a non-custom pgbench