Обсуждение: gcc 4.8 compiler warning in ecpg check

Поиск
Список
Период
Сортировка

gcc 4.8 compiler warning in ecpg check

От
Peter Eisentraut
Дата:
With gcc 4.8, I get a compiler warning when building the ecpg test
files:

define.pgc: In function 'main':
define.pgc:21:19: warning: typedef 'string' locally defined but not used [-Wunused-local-typedefs] typedef char
string[NAMELEN];                 ^
 

This could be removed, but is it something that is actually part of what
is being tested?




Re: gcc 4.8 compiler warning in ecpg check

От
Michael Meskes
Дата:
On Sat, Nov 02, 2013 at 02:25:17PM -0400, Peter Eisentraut wrote:
> This could be removed, but is it something that is actually part of what
> is being tested?

Thanks for spotting Peter. Yes, this should have been used. I just committed a fix.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL