Error on Linux

6 views
Skip to first unread message

Anant Vemuri

unread,
Feb 22, 2010, 1:05:37 AM2/22/10
to fw4spl-discuss
Hi,

The following error comes when compiling Tuto07LoaderForExternalData.

..../dev/Src/fw4spl/Bundles/LeafIO/ioTuto/src/ioTuto/
ExternalDataReaderService.cpp:88: error: '<::' cannot begin a template-
argument list
..../dev/Src/fw4spl/Bundles/LeafIO/ioTuto/src/ioTuto/
ExternalDataReaderService.cpp:88: note: '<:' is an alternate spelling
for '['. Insert whitespace between '<' and '::'
..../dev/Src/fw4spl/Bundles/LeafIO/ioTuto/src/ioTuto/
ExternalDataReaderService.cpp:88: note: (if you use '-fpermissive' G++
will accept your code)

When porting code from Windows to Linux, I get compilation error with
the similar message. However it does happen for code written by
windows users with no whitespace between '<' and '::'. I was wondering
if there is a work around for this.

Thank you.

Anant

Anant Vemuri

unread,
Feb 22, 2010, 1:56:30 AM2/22/10
to fw4spl-discuss
Also there is an error with ioTuto. In Plugin.cpp the included header
is "ioTuto/Plugin.hpp" --- But the actual file is plugin.hpp. Ofcourse
this will not be noticeable on Windows, but throws an error on Linux.
Could you please correct it.

Merci Beau-coup!
Anant.

Pascal

unread,
Feb 22, 2010, 4:43:51 AM2/22/10
to fw4spl-discuss
Hi,

The problems have bben solved and commit.

Pascal

Anant Vemuri

unread,
Feb 23, 2010, 9:37:28 PM2/23/10
to fw4spl-discuss
Thank you Pascal. Just one other thing, someone changed the include in
Plugin.cpp to #include "ioTuto/plugin.hpp" now it should be #include
"ioTuto/Plugin.hpp"
Reply all
Reply to author
Forward
0 new messages