|
|
|
|||||
|
template error in nested slice modules
Hi all,
while recompiling our C++ code with Ice-3.4 I came across a compile error in slice generated files. Ice-3.4.0, C++, Linux, gcc-4.2/4.3/4.4 It seems that any 2 nested modules with contents on the both inner and outer levels will trigger this. Here's a simple example: Code:
module m1
{
struct S1
{
int var;
};
module m2
{
struct S2
{
int var;
};
};
};
Quote:
Has anybody encountered a similar problem? Cheers, Alex
__________________
Alex Makarenko Marathon Robotics project: multi-robot systems |
|
||||||
|
Hi Alex,
Thanks for reporting this bug. It's too bad you didn't try this a few days ago, before we released 3.4.0. ![]() I've posted a source patch here. You'll need to build a new version of slice2cpp. Regards, Mark |
|
|||||
|
Doh! I should've tried to find some time to do it last week.
Your patch fixed it, thanks for that. The rest built without problems. Thanks, Alex
__________________
Alex Makarenko Marathon Robotics project: multi-robot systems |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SLICE - Problems referencing classes in reopened modules. | zrrbite | Help Center | 4 | 11-03-2009 03:16 AM |
| Nested Modules | Ryuga | Help Center | 1 | 02-25-2009 05:18 AM |
| slice2html creates broken links for nested modules | mefoster | Bug Reports | 1 | 05-01-2007 06:25 PM |
| slice2html 3.2.0 on nested modules yields dangling image links | apope | Bug Reports | 1 | 04-02-2007 05:41 PM |
| docs: reference to other modules in slice | n2503v | Comments | 2 | 11-20-2006 04:00 PM |