https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85718
luke at diamand dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |luke at diamand dot org
--- Comment #1 from luke at diamand dot org ---
You can also see the problem with this code:
--------------------
#include <stdarg.h>
void log(char const *fmt, void *foo)
{
}
void log(char const *fmt, va_list args)
{
}
--------------------
With the v8 compiler I get this:
mipsel-linux-gnu-g++-8 -std=c++14 -Wall -c bar.cpp
bar.cpp:8:6: error: redefinition of ‘void log(const char*, va_list)’
void log(char const *fmt, va_list args)
^~~
bar.cpp:4:6: note: ‘void log(const char*, void*)’ previously defined here
void log(char const *fmt, void *foo)
^~~
With a non-MIPS compiler it compiles just fine.