This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compile "error 1705"
Am Dienstag, 6. Dezember 2005 10:49 schrieb Pierre-Matthieu anglade:
> It looks like there's one extra const which is not welcome. I can't
> test because I don't have your header "extra.h" but try:
> int movefile(const char* filename, const char* directory)
> --
> Pierre-Matthieu Anglade
Just try to compile this ...
AND LOOKUP YOUR COMPILER. You don't use gcc. Gcc actually understands that
syntax !
extern int f(const char* const x, const char* const y);
int f(const char* const x, const char* const y) { return 0; }