http://bugs.orocos.org/show_bug.cgi?id=879
Summary: Error at compilation depending on logging option
choices.
Product: Toolchain
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: paul [dot] chavent [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
In the first case, with these options :
OROBLD_DISABLE_LOGGING OFF
OROSEM_FILE_LOGGING OFF
OROSEM_PRINTF_LOGGING OFF (default)
OROSEM_REMOTE_LOGGING OFF
I got :
rtt/Logger.cpp:298: error: class ‘RTT::Logger’ does not have any field named
‘fileline’
rtt/Logger.cpp:298: error: ‘struct RTT::Logger::D’ has no member named
‘fileline’
In the second case, with these options :
OROBLD_DISABLE_LOGGING ON
OROSEM_FILE_LOGGING ON (default)
OROSEM_PRINTF_LOGGING OFF (default)
OROSEM_REMOTE_LOGGING ON (default)
I got :
rtt/Logger.cpp:587: error: uninitialized reference member
‘RTT::Logger::inpguard’
rtt/Logger.cpp:587: error: uninitialized reference member
‘RTT::Logger::logline’
rtt/Logger.cpp:587: error: uninitialized reference member
‘RTT::Logger::fileline’
and some unresolved symbols on "Logger& Logger::operator<<( const char* t )".
So this patch should avoid those error.
I wonder if we can disable logging if file and printf and remote logging are
disabled ?
--
Configure bugmail: http://bugs.orocos.org/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
[Bug 879] Error at compilation depending on logging option choic
http://bugs.orocos.org/show_bug.cgi?id=879
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |peter [..] ...
[Bug 879] Error at compilation depending on logging option choic
http://bugs.orocos.org/show_bug.cgi?id=879
--- Comment #1 from Chavent Paul <paul [dot] chavent [..] ...> 2011-06-30 09:41:08 CEST ---
Created attachment 712
--> http://bugs.orocos.org/attachment.cgi?id=712
Correct the compilation failure.