[Bug 452] New: error: ‘LLONG_MAX’ was not declared in this scope

For more infomation about this bug, visit
Summary: error: ‘LLONG_MAX’ was not declared in this scope
Product: RTT
Version: rtt-trunk
Platform: All
OS/Version: RTAI/LXRT 3.x
Status: NEW
Severity: normal
Priority: P2
Component: Build System
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

I get the following message when i try to compile rtt-trunk for lxrt:

[ 0%] Building CXX object src/CMakeFiles/orocos-rtt.dir/os/RunnableInterface.o
/usr/bin/c++ -DRTT_DLL_EXPORT -O2 -DNDEBUG -fPIC
-I/usr/realtime/rtai-3.3/include -I/usr/src/linux-2.6.15.7-rtai-3.3/include
-I/src/rtt/src -I/src/rtt/build-lxrt/src -I/src/rtt/build-lxrt/src/os
-I/src/rtt/build-lxrt/src/os/lxrt -Wall -I/usr/realtime/rtai-3.3/include
-I/usr/src/linux-2.6.15.7-rtai-3.3/include -o
src/CMakeFiles/orocos-rtt.dir/os/RunnableInterface.o -c
/src/rtt/src/os/RunnableInterface.cpp
/src/rtt/src/os/lxrt/fosi.h:140: error: ‘LLONG_MAX’ was not declared in
this scope
/src/rtt/src/os/lxrt/fosi.h:141: error: ‘LLONG_MAX’ was not declared in
this scope

Ruben

--
Configure bugmail: https://svn.fmtc.be/bugzilla/orocos/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Christian Louboutin

It is named Christian Louboutin for the reason that man who create Christian Louboutin shoes. At the same time, it's helpful to reduce the risk of injury for the player. If you think your feet should be protected well during the strenuous exercise, the Christian Louboutin Pumps are the right choice for you. There are many Cheap Christian Louboutin Heels from our shop. If you want to learn more informations of those Christian Louboutin Boots, please visite our website http://www.louboutinshopsale.com/. Are you looking for a comfortable shoes? We are ready for you to give you great discount Christian Louboutin Sandals and best service.

[Bug 452] error: ‘LLONG_MAX’ was not declared in this scope

For more infomation about this bug, visit

Peter Soetens
<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED

Ruben Smits's picture

[Bug 452] error: ‘LLONG_MAX’ was not declared in this scope

For more infomation about this bug, visit

--- Comment #4 from Ruben Smits <ruben [dot] smits [..] ...> 2007-09-26 11:00:57 ---
In the meantime i updated my system and the error disappeared. I think we were
using gcc-3.4

Ruben

--
Configure bugmail: https://svn.fmtc.be/bugzilla/orocos/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

[Bug 452] error: ‘LLONG_MAX’ was not declared in this scope

For more infomation about this bug, visit

--- Comment #3 from Peter Soetens
<peter [dot] soetens [..] ...> 2007-09-26 10:51:25 ---
(In reply to comment #2)
> This is on an 'old' ubuntu dapper (6.06) based system. I do not have the
> problem on a newer system like yours. And i am 100% sure i'm using the latest
> trunk (from monday)

So which gcc version are you using ? normally these symbols are defined by gcc
or by the file /usr/include/limits.h . On Feisty, I can also compile this code
with gcc-3.3

Peter

--
Configure bugmail: https://svn.fmtc.be/bugzilla/orocos/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Ruben Smits's picture

[Bug 452] error: ‘LLONG_MAX’ was not declared in this scope

For more infomation about this bug, visit

--- Comment #2 from Ruben Smits <ruben [dot] smits [..] ...> 2007-09-26 10:23:14 ---
This is on an 'old' ubuntu dapper (6.06) based system. I do not have the
problem on a newer system like yours. And i am 100% sure i'm using the latest
trunk (from monday)

Ruben

--
Configure bugmail: https://svn.fmtc.be/bugzilla/orocos/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

[Bug 452] error: ‘LLONG_MAX’ was not declared in this scope

For more infomation about this bug, visit

Peter Soetens
<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |peter [dot] soetens [..] ...
Target Milestone|--- |1.4.0

--- Comment #1 from Peter Soetens
<peter [dot] soetens [..] ...> 2007-09-26 10:11:25 ---
(In reply to comment #0)
> I get the following message when i try to compile rtt-trunk for lxrt: