I am compiling my code with below mentioned option, i am getting some strange error,
The warning what i am getting is
Quote:
cm_os.c:166: warning: ISO C++ forbids declaration of ‘mmap’ with no type
cm_os.c:168: warning: ISO C++ forbids declaration of ‘munmap’ with no type
Code:
g++ -c -g3 -m32 -ansi -fpermissive -pipe -Wall -Wno-comment -Wcast-align -Wcast-qual
Quote:
extern mmap (S8 *addr, OsSize len, OsInt prot, OsInt flags, OsInt fildes, OsLong off);
extern munmap (S8 *addr, OsSize len);
