dbTalk Databases Forums  

[BUGS] buglet in 7.1.4

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] buglet in 7.1.4 in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Enrico Weigelt
 
Posts: n/a

Default [BUGS] buglet in 7.1.4 - 03-06-2004 , 11:49 AM






--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


Hi folks,


I've found a little bug in version 7.1.3 in conjunction w/ the
new gcc, which prints our more than one line on --version.
(simply added | head -n 1)

The problem is that the gcc --version output is copied into
confdefs.h and so produces compile erros.

This problem does not appear on current 7.4.1.

See attached patch.

cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT services

phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact (AT) metux (DOT) de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL-Zugang ab 0 Euro. -- statische IP -- UUCP -- Hosting --
---------------------------------------------------------------------

--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="prebuild.diff"

--- configure.in.orig Sat Mar 6 16:46:34 2004
+++ configure.in Sat Mar 6 16:46:49 2004
@@ -295,7 +295,7 @@

# Create compiler version string
if test x"$GCC" = x"yes" ; then
- cc_string="GCC `${CC} --version`"
+ cc_string="GCC `${CC} --version | head -n 1`"
else
cc_string=$CC
fi

--- configure.orig Sat Mar 6 16:51:19 2004
+++ configure Sat Mar 6 16:51:34 2004
@@ -1617,7 +1617,7 @@

# Create compiler version string
if test x"$GCC" = x"yes" ; then
- cc_string="GCC `${CC} --version`"
+ cc_string="GCC `${CC} --version | head -n 1`"
else
cc_string=$CC
fi

--W/nzBZO5zC0uMSeA
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

--W/nzBZO5zC0uMSeA--

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.