This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/85958] Make const qualifier error clear


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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]