Lists: | pgsql-hackers |
---|
From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | pgsql: Clean up c.h / postgres.h after Assert() move |
Date: | 2013-02-08 20:36:36 |
Message-ID: | CAMkU=1zErGRwG4=NuBjGfyDSaLMT=ddRqK3nCHh5XqxYd9aarg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
commit 381d4b70a9854a7b5b9f12d828a0824f8564f1e7 introduced some
compiler warnings:
assert.c:26: warning: no previous prototype for 'ExceptionalCondition'
elog.c: In function 'pg_re_throw':
elog.c:1628: warning: implicit declaration of function 'ExceptionalCondition'
elog.c:1630: warning: 'noreturn' function does return
From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pgsql: Clean up c.h / postgres.h after Assert() move |
Date: | 2013-02-08 21:55:21 |
Message-ID: | 20130208215521.GF3980@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Jeff Janes escribió:
> commit 381d4b70a9854a7b5b9f12d828a0824f8564f1e7 introduced some
> compiler warnings:
>
> assert.c:26: warning: no previous prototype for 'ExceptionalCondition'
> elog.c: In function 'pg_re_throw':
> elog.c:1628: warning: implicit declaration of function 'ExceptionalCondition'
> elog.c:1630: warning: 'noreturn' function does return
Oh, I see the problem -- you don't have asserts enabled. Doh.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pgsql: Clean up c.h / postgres.h after Assert() move |
Date: | 2013-02-18 21:57:17 |
Message-ID: | 20130218215717.GF4739@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Jeff Janes escribió:
> commit 381d4b70a9854a7b5b9f12d828a0824f8564f1e7 introduced some
> compiler warnings:
>
> assert.c:26: warning: no previous prototype for 'ExceptionalCondition'
> elog.c: In function 'pg_re_throw':
> elog.c:1628: warning: implicit declaration of function 'ExceptionalCondition'
> elog.c:1630: warning: 'noreturn' function does return
Fixed, thanks for the report.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services