Using Intel's C++ Compiler

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Arakageeta1
Knows some wx things
Knows some wx things
Posts: 38
Joined: Tue Oct 18, 2005 12:26 am

Using Intel's C++ Compiler

Post by Arakageeta1 » Tue Aug 29, 2006 12:58 am

I am evaluating Intel's C++ compiler for our project that uses wxWidgets. When I compile wxWidgets with ICC, the warnings come flooding in! Does anyone have any experience using Intel's C++ v9.1 compiler with wxWidgets?

I noticed that the configure script believes that I am using both GCC and ICC. Perhaps incorrect macros are being enabled? Intel claims to be GCC compatible on versions 3.3+.

Platform: Redhat Enterprise Linux 4

Update: I posted my message while compiling wxWidgets for the first time with ICC. But it looks like the build died in src/common/docview.cpp.

orbitcowboy
I live to help wx-kind
I live to help wx-kind
Posts: 178
Joined: Mon Jul 23, 2007 9:01 am

Post by orbitcowboy » Wed Mar 10, 2010 8:02 am

Has somebody else ever tried to use Intels C++ Compiler (for Linux), which is free of charge, to build the wxWidgets Library? Any experience?

Thanks a lot!

Best regards

Orbitcowboy
OS: Ubuntu 9.04 (32/64-Bit), Debian Lenny (32-Bit)
Compiler: gcc/g++-4.3.3 , gcc/g++-4.4.0
wxWidgets: 2.8.10,2.9.0

he64dev
In need of some credit
In need of some credit
Posts: 1
Joined: Thu Feb 03, 2011 10:02 am

Intel Compiler not compatible with wxWidgets

Post by he64dev » Thu Feb 03, 2011 10:26 am

Intel Compiler is not compatible with wxWidgets 2.9.1, because the wxString class uses gcc/g++ include file tr1/type_traits.h.
wx/string.h includes strvararg.h witch includes tr1/type_traits.h

Please have a look at intel compiler documentation ( release_notes->Intel C++ Compiler->Known Issues->TR1 Header Files )

Does anyone know a workaround for this?
Is an earlier version of wxWidgets compatible?

Thanks a lot!

DavidHart
Site Admin
Site Admin
Posts: 3967
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Post by DavidHart » Thu Feb 03, 2011 1:29 pm

Hi,

If you're sure about this (and it's still true in 2.9 svn, and it's not already in trac) it's worth a bug-report: http://trac.wxwidgets.org/

Regards,

David

Post Reply