- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had posted this in the TBB forum and they recommended that I post it here.
This is my question:
http://software.intel.com/en-us/forums/showthread.php?t=71088page/1/#106781
Any pointers in the right direction would be appreciated.
This is my question:
http://software.intel.com/en-us/forums/showthread.php?t=71088page/1/#106781
Any pointers in the right direction would be appreciated.
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Nav
I had posted this in the TBB forum and they recommended that I post it here.
This is my question:
http://software.intel.com/en-us/forums/showthread.php?t=71088page/1/#106781
Any pointers in the right direction would be appreciated.
This is my question:
http://software.intel.com/en-us/forums/showthread.php?t=71088page/1/#106781
Any pointers in the right direction would be appreciated.
Well, this is the Intel C++ Compiler forum, and your question seems to be how do you get lambda's working. It seems to work fine with the switch mentioned in the other thread, "-std=c++0x":
[cpp]$ icc -c lambda1.cpp lambda1.cpp(43): error: expected an expression [&](){ par_ms(beg, mid, A); }, ^ lambda1.cpp(44): error: expected an expression [&](){ par_ms(mid, end, A); } ^ compilation aborted for lambda1.cpp (code 2) $ icc -std=c++0x -c lambda1.cpp $ [/cpp]That was with the 11.1 compiler.
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Dale Schouten (Intel)
That was with the 11.1 compiler.
A person who replied to the other thread said that lambda's will be supported only from gcc 4.5 onward (which isn't available for download as yet).
Is that true?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's true. The replies in this thread say so: http://software.intel.com/en-us/forums/showthread.php?t=71088page/1/#106781
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know where you're going with it, but gcc 4.5 source and pre-built versions are available. It's a pre-release; I think gcc-4.4.3 is the most recent release. For example, gfortran wiki has gfortran and g++ builds for several of the usual platforms.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you point me to any links where I could download it from?

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