Author Topic: Tried for you... gcc 4.5.1, Aug 31 gcc 4.6  (Read 90568 times)

vamiot

  • Newbie
  • *
  • Posts: 1
    • View Profile
Tried for you... gcc 4.5.1, Aug 31 gcc 4.6
« on: September 06, 2010, 09:51:03 AM »
These two (gcc 4.5.1 &  4.6) are still having fits with futures/asyncs (bomb at runtime, 4.6 a bit more cleanly)
(local rebuild from sources on (uname -a):
Linux Gypsy-IV 2.6.32-25-server #43-Ubuntu SMP Wed Sep 1 10:54:43 UTC 2010 x86_64 GNU/Linux

Note futures are not even in the C++0x supported/unsupported list, see http://gcc.gnu.org/projects/cxx0x.html (concurrency?), does anyone know?

Anthony Williams

  • Administrator
  • Full Member
  • *****
  • Posts: 103
    • View Profile
    • just::thread C++ Thread Library
Re: Tried for you... gcc 4.5.1, Aug 31 gcc 4.6
« Reply #1 on: September 06, 2010, 10:03:20 AM »
The native gcc support in the current trunk for the library facilities such as futures is listed at http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.200x. For a particular version you'll have to check your local copy of that documentation page, as the gcc website doesn't seem to list the support that shipped with each individual version.

Anthony Williams

  • Administrator
  • Full Member
  • *****
  • Posts: 103
    • View Profile
    • just::thread C++ Thread Library
Re: Tried for you... gcc 4.5.1, Aug 31 gcc 4.6
« Reply #2 on: September 06, 2010, 10:04:27 AM »
And just for clarity: just::thread does not support g++ 4.5 or later in the current release.

TA

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Tried for you... gcc 4.5.1, Aug 31 gcc 4.6
« Reply #3 on: December 16, 2010, 05:01:15 PM »
And just for clarity: just::thread does not support g++ 4.5 or later in the current release.
Hi Anthony,

Quote
Compatible with g++ 4.3, 4.4 and 4.5 for 32-bit and 64-bit Ubuntu linux (x86/x86_64) targets, making full use of the C++0x support from g++ including rvalue references and variadic templates.
http://www.stdthread.co.uk/
On the other hand my documentation said
Quote
Compatible with g++ 4.3 and g++ 4.4 for 32-bit and 64-bit Ubuntu linux targets.
Nothing about gcc 4.5.
Which information is more correct?

BTW, readme.txt from my copy says "The just::thread C++ Thread Library v1.0", while there is announcement of V1.3 as a last version
http://www.stdthread.co.uk/forum/index.php/topic,73.0.html
As far as I see that is the latest version, you probably forgot to update readme.txt :)

Thanks.

Anthony Williams

  • Administrator
  • Full Member
  • *****
  • Posts: 103
    • View Profile
    • just::thread C++ Thread Library
Re: Tried for you... gcc 4.5.1, Aug 31 gcc 4.6
« Reply #4 on: December 17, 2010, 09:33:44 AM »
The current release supports gcc 4.5 (if you install the right .debs); older releases did not, and the message was correct when written. I guess I ought to update the readme and documentation.

TA

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Tried for you... gcc 4.5.1, Aug 31 gcc 4.6
« Reply #5 on: December 17, 2010, 09:57:02 AM »
The current release supports gcc 4.5 (if you install the right .debs); older releases did not, and the message was correct when written. I guess I ought to update the readme and documentation.
Thanks.