similar to: gcc 2.95 compile errors

Displaying 7 results from an estimated 7 matches similar to: "gcc 2.95 compile errors"

2006 May 18
0
building 1.0beta8 with gcc 2.95
The following patch is need to correctly align the default_settings structure with gcc 2.95, which doesn't recognise C99 style struct initializers. --- src/master/master-settings.c~ 2006-04-25 04:00:07.000000000 +0200 +++ src/master/master-settings.c 2006-05-18 11:14:08.949376000 +0200 @@ -367,6 +367,7 @@ /* .. */ MEMBER(login_uid) 0, + MEMBER(imap_generated_capability) NULL,
2006 Jul 23
1
[PATCH] Fix a compile bug with gcc 2.95 in src/plugin_common/replaygain.c
Declaring variables in the middle of a block isn't supported by older (pre-C99?) compilers, and gcc 2.95 is one of them. --- a/src/plugin_common/replaygain.c +++ b/src/plugin_common/replaygain.c @@ -28,10 +28,11 @@ void FLAC_plugin__replaygain_get_from_fi double *track_peak, FLAC__bool *track_peak_set,
1999 Oct 14
2
EGCS broken; tested 2.95 through CVS current
Just so folks know, all the modern variants of EGCS (now named gcc) out there appear to be producing occasionally bogus x86 FPU code at -O1 or higher. Guess what... Vorbis trips the bug whatever it is. I just grabbed and built the latest CVS code, and it's also broken. I'm constructing a small failure case example for a bug report now. It looks like FPU arithmetic into a register
2006 Apr 26
1
asterisk no longer compiles on gcc 2.95
Throwing errors relating to utils.h: /usr/include/asterisk/strings.h:264: parse error before `__extension__' /usr/include/asterisk/strings.h:264: parse error before `;' /usr/include/asterisk/strings.h:264: warning: type defaults to `int' in declaration of `__retval' /usr/include/asterisk/strings.h:264: `__len' undeclared here (not in a function)
2009 Jan 15
2
Xapian core build failure under gcc 2.95
Hi, Under gcc 2.95 Xapian fails to build like so: g++ -DHAVE_CONFIG_H -I. -I./common -I./include -I/home/dsainty/not-backed-up/pkgsrc/textproc/xapian/work/.buildlink/include -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -O2 -c queryparser/queryparser_internal.cc
2008 Jan 23
2
PATCH: compile dovecot-1.1.beta14 with gcc 2.95
Hi, I patched dovecot-1.1.beta14 to compile under gcc 2.95. __builtin_expect and __attribute__((malloc)) are only available since gcc 3.0, and __builtin_types_compatible_p since 3.1. Also the flexible array members (char a[]) are not available for gcc 2.95. So I replaced them with zero-extent arrays (char a[0]), which should also work, but that is gcc specific. A general pointer (char* a) should
2008 Sep 30
1
Problem compiling tinc-1.0.8 on gcc-2.95
Hello. I found that anonymous structures does not work on gcc-2.95. If you guys want to support a bit older platforms I suggest fixing it. You can check out patch I created to fix this issue. I just added 2 extra structures to remove anonymous structs inside connection_status_t and node_status_t. Patch is here: ftp://borg.uu3.net/pub/unix/tinc/tinc.patch Attaching it as well. Regards, Borg