- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
icc-8.0 for Linuxfailes while compiling the following code
with -fno-rtti option.
class A {
public:
virtual void fun1 () const = 0;
};
public:
virtual void fun1 () const = 0;
};
class B : virtual public A {
public:
virtual void fun2 () const = 0;
};
public:
virtual void fun2 () const = 0;
};
class C : virtual public A {
public:
virtual void fun3 () const = 0;
};
public:
virtual void fun3 () const = 0;
};
class D : public C, public B {
};
};
int main ()
{
return 0;
}
{
return 0;
}
0 d g++>icc -fno-rtti main.cpp -o main
main.cpp(16): internal error: assertion failed at: "shared/edgcpfe/lower_il.c", line 4681
main.cpp(16): internal error: assertion failed at: "shared/edgcpfe/lower_il.c", line 4681
class D : public C, public B {
^
^
compilation aborted for main.cpp (code 4)
4 d g++>
4 d g++>
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Cheusov,
An emitted compiler assertion is definitely worth a premier support issue. One thought, does the code compile without the -nortti switch?
Max
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Everything works fine without -fno-rtti flag.
Is my report enough for this bug to be fixed in future releases?
P.S.
It seems this forum doesn't work with galeon browser under Linux.
Is it InternetExplorer oriented only?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for report, but problem has been already fixed in 8.1 You can download recent 8.1.021 version from Premier support site to check it.
Max
Max
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page