It would not compile with gcc 4.2.3
Logged In: NO
Using gcc (GCC) 4.2.3 (Ubuntu 4.2.3-1ubuntu2)
This is the error output:
Making all in libevent Making all in .
gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -c event.c -o event.o gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -c evutil.c -o evutil.o
evutil.c:196:2: error: #error "I don't know how to parse 64-bit integers." evutil.c: In function 'evutil_strtoll': evutil.c:198: warning: control reaches end of non-void function make: *** [evutil.lo] Error 1
Logged In: YES
Here is the information from that bug:
I cannot reproduce this with gcc-4.2.1; Nick, you have any insights into this one?
Logged In: YES
Have you tried re-running autogen.sh and configure? If that doesn't work, please attach
your config.h and config.log (compressed)? Thanks!
Niels: We could change a flag in automake to make sure that configure gets re-built and
re-run when configure.in has changed. Any reason not to? It would keep people from getting
some of these spurious compile errors.
I thought we already had that flag; let's add it if not.
I reported the bug originally.
As sugguested, I ran ./autogen.sh and then ./configure and there no longer appeared an error.
I removed AM_MAINTAINER_MODE from configure.in in r651. If it doesn't cause trouble, I'll backport it to
the 1.4 branch.
Original issue was not a bug; AM_MAINTAINER_MODE now removed from 1.4 branch and trunk so that autoconf re-runs itself in order to avoid confusing users.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.