Re: Compile "error 1705"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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; }

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux