[Bug c++/110110] [14 regression] nodejs/v8 fails to compile with error: cannot convert ‘std::vector::iterator’ to ‘const char*’

2023-06-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110110 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > There is no std::remove in that preprocessed source ... Actually there is but after the use of std::remove. std::remove is used on line 75440 but only declare

[Bug c++/110110] [14 regression] nodejs/v8 fails to compile with error: cannot convert ‘std::vector::iterator’ to ‘const char*’

2023-06-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110110 --- Comment #2 from Andrew Pinski --- There is no std::remove in that preprocessed source ...

[Bug c++/110110] [14 regression] nodejs/v8 fails to compile with error: cannot convert ‘std::vector::iterator’ to ‘const char*’

2023-06-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110110 --- Comment #1 from Sam James --- It doesn't seem to be resolving to the STL template which takes an iterator, given the error & warning?