Sujet : Re: I want to use the g++ template in the "C" gcc software
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 13. Dec 2024, 01:39:07
Autres entêtes
Organisation : None to speak of
Message-ID : <87seqsv2l0.fsf@nosuchdomain.example.com>
References : 1 2
User-Agent : Gnus/5.13 (Gnus v5.13)
Chan <
noreply@bghyujhyh.com> writes:
[...]
What is the latest version og GCC/G++ and how to upgrade? On my version
I can't seem to compile Modern C++ snippets. My version is:
>
g++ (Rev3, Built by MSYS2 project) 14.1.0
comp.lang.c++ is a better place for questions about C++.
The latest released version of gcc (which includes g++) is 14.2.0.
There are not likely to be any significant changes between 14.1.0
and 14.2.0.
Your statement that you "can't seem to compile Modern C++ snippets"
is too vague for anyone to be able to help you. You might need
to use the "-std=c++..." option to specify which version of the
C++ standard you want to support. If you still have questions,
start a new thread in comp.lang.c++ (not here!) and include both
the snippets (if they're not too long) and the exact output you
get when you try to complime them.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */