Skip site navigation (1) Skip section navigation (2)

pgsql: Add "%option noinput" to the scanners to avoid compiler warnings.

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add "%option noinput" to the scanners to avoid compiler warnings.
Date: 2008-05-09 15:36:31
Message-ID: 20080509153631.B959A7559E9@cvs.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Tom LaneDate: 2008-05-09 15:53:07
Subject: pgsql: Give a warning if -s switch is used with a non-custom pgbench
Previous:From: Bruce MomjianDate: 2008-05-09 15:36:07
Subject: Re: pgsql: Have numeric 0 ^ 4.3 return 1, rather than an error, and have 0 ^

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group