This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85958] Make const qualifier error clear
- From: "jg at jguk dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 May 2018 09:23:57 +0000
- Subject: [Bug c++/85958] Make const qualifier error clear
- Auto-submitted: auto-generated
- References: <bug-85958-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85958
--- Comment #1 from Jonny Grant <jg at jguk dot org> ---
My idea of what would be clearest is :-
Cannot pass ‘const int‘ as ‘int&‘ (non const)