Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218934 - net-misc/omnievents-2.6.2 fails w/ gcc-4.3.0
Summary: net-misc/omnievents-2.6.2 fails w/ gcc-4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-22 19:41 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-22 19:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
omnievents-2.6.2-gcc43.patch (omnievents-2.6.2-gcc43.patch,634 bytes, patch)
2008-04-22 19:41 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 19:41:07 UTC
make[1]: Entering directory `/var/tmp/portage/net-misc/omnievents-2.6.2/work/omniEvents-2_6_2/src'
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  ConsumerAdmin.cc
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  EventChannel.cc
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  EventChannelFactory.cc
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  EventQueue.cc
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  Filter.cc
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  Orb.cc
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  PersistNode.cc
PersistNode.cc: In member function ‘bool OmniEvents::PersistNode::readtoken(std::istream&, std::string&)’:
PersistNode.cc:92: error: ‘INT_MAX’ was not declared in this scope
make[1]: *** [PersistNode.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/omnievents-2.6.2/work/omniEvents-2_6_2/src'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 19:41:44 UTC
Created attachment 150643 [details, diff]
omnievents-2.6.2-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 Samuli Suominen gentoo-dev 2008-04-22 19:54:04 UTC
+  22 Apr 2008; Samuli Suominen <drac@gentoo.org>
+  +files/omnievents-2.6.2-gcc43.patch, omnievents-2.6.2.ebuild:
+  Fix building with GCC 4.3 wrt #218934, thanks to Peter Alfredsen.
+

loki_val++