compile errors in rtt and ocl when compiling with gcc 4.4
Submitted by vri on Tue, 2009-07-07 20:37 |
When compiling rtt and ocl with gcc 4.4, I get these errors:
rtt:
marsh/CPFDemarshaller.cpp:169: error: ‘sscanf’ was not declared in this scope
os/rtconversions.cpp:183: error: ‘snprintf’ was not declared in this scope
ocl:
reporting/socket.cpp:91: error: ‘EOF’ was not declared in this scope
I use this compiler:
gcc version 4.4.0 20090630 (prerelease) (GCC)
Quoting from another forum:
GCC 4.4 cleaned up some more C++ headers. You always have to #include
headers directly and cannot rely for things to be included indirectly.
To resolve the errors, of course all three files need to include
Cheers, Theo.
compile errors in rtt and ocl when compiling with gcc 4.4
On Tue, Jul 7, 2009 at 22:37, <t [dot] j [dot] a [dot] devries [..] ...> wrote:
> When compiling rtt and ocl with gcc 4.4, I get these errors:
> rtt:
> marsh/CPFDemarshaller.cpp:169: error: ‘sscanf’ was not declared in this scope
> os/rtconversions.cpp:183: error: ‘snprintf’ was not declared in this scope
> ocl:
> reporting/socket.cpp:91: error: ‘EOF’ was not declared in this scope
Thanks for reporting. Merged on git rtt master, will backport to 1.x branches.
Peter