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

compiler warning

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: compiler warning
Date: 2011-02-03 03:40:11
Message-ID: 201102030340.p133eBX05520@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackers
I am seeing the following compiler warning for the past few days:

	basebackup.c:213: warning: variable `ptr' might be clobbered by
	`longjmp' or `vfork'

and I see this comment in the file:

	/*
	 * Actually do a base backup for the specified tablespaces.
	 *
	 * This is split out mainly to avoid complaints about "variable might be
	 * clobbered by longjmp" from stupider versions of gcc.
	 */

Seems that isn't working as expected.  I am using:

	gcc version 2.95.3 20010315 (release)

with -O1.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2011-02-03 04:43:35
Subject: Re: sepgsql contrib module
Previous:From: Mladen GogalaDate: 2011-02-03 02:45:19
Subject: Re: [HACKERS] Slow count(*) again...

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