* The problem(difference) in the gnu website about C++11 support in a specific version of GCC
@ 2020-04-13 5:20 Qiye Tan
2020-04-13 14:02 ` Jonathan Wakely
0 siblings, 1 reply; 2+ messages in thread
From: Qiye Tan @ 2020-04-13 5:20 UTC (permalink / raw)
To: gcc-help
[-- Attachment #1: Type: text/plain, Size: 868 bytes --]
Dear GCC Helper:
I have found that in website:
https://gcc.gnu.org/projects/cxx-status.html#cxx11, the Table Concurrency
shows that GCC 4.3 support the proposal N2660, however, when I went to GCC
4.3 c++0x status website (https://gcc.gnu.org/gcc-4.3/cxx0x_status.html)
for detail information, I found that it shows that GCC 4.3 doesn’t support
proposal N2660. What’s more, I don’t know why my gcc doesn’t have the
predefine MACRO “__cpp_threadsafe_static_init”, it even doesn’t have the
MACRO “__cpp_rtti”. So, can you tell me that whether threadsafe_static_init
is supported in GCC 4.3? Thank you so much!
Here is the screenshot of
https://gcc.gnu.org/projects/cxx-status.html#cxx11
[image: gcc1.PNG]
And the screenshot of https://gcc.gnu.org/gcc-4.3/cxx0x_status.html
[image: gcc2.PNG]
Best Regards,
Qiye Tan
[-- Attachment #2: gcc1.PNG --]
[-- Type: image/png, Size: 19167 bytes --]
[-- Attachment #3: gcc2.PNG --]
[-- Type: image/png, Size: 15420 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: The problem(difference) in the gnu website about C++11 support in a specific version of GCC
2020-04-13 5:20 The problem(difference) in the gnu website about C++11 support in a specific version of GCC Qiye Tan
@ 2020-04-13 14:02 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2020-04-13 14:02 UTC (permalink / raw)
To: Qiye Tan; +Cc: gcc-help
On Mon, 13 Apr 2020 at 06:22, Qiye Tan via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> Dear GCC Helper:
>
>
>
> I have found that in website:
> https://gcc.gnu.org/projects/cxx-status.html#cxx11, the Table Concurrency
> shows that GCC 4.3 support the proposal N2660, however, when I went to GCC
> 4.3 c++0x status website (https://gcc.gnu.org/gcc-4.3/cxx0x_status.html)
> for detail information, I found that it shows that GCC 4.3 doesn’t support
> proposal N2660.
It's likely the gcc-4.3 docs were not updated at the time, and so are incorrect.
> What’s more, I don’t know why my gcc doesn’t have the
> predefine MACRO “__cpp_threadsafe_static_init”, it even doesn’t have the
> MACRO “__cpp_rtti”.
GCC 4.3.6 was released in 2011.
The initial proposal for the idea of standardized macros was published in 2012:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3435.htm
The first "__cpp_xxx" macros were proposed in 2013:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3694.htm
But the __cpp_rtti macro wasn't proposed until much later:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4200.htm
And the __cpp_threadsafe_static_init macro even later:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0096r5.html
It's completely unsurprising that a compiler released in 2011 doesn't
implement a feature invented several years later.
> So, can you tell me that whether threadsafe_static_init
> is supported in GCC 4.3? Thank you so much!
The -fno-threadsafe-statics option is documented in the GCC 4.3
manual, so yes, it's supported.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-13 14:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13 5:20 The problem(difference) in the gnu website about C++11 support in a specific version of GCC Qiye Tan
2020-04-13 14:02 ` Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).