Compilation Warnings
Bruno David Simões Rodrigues <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <1020128311.28764.5.camel@davi> |
bruno@laptop:~/work/gateway$ make -s wap/wsp_session.c:437: warning: `REFERER' redefined wap/wsp.h:47: warning: this is the location of the previous definition wap/wsp_session.c:490: warning: `REFERER' redefined wap/wsp_session.c:437: warning: this is the location of the previous definition bruno@laptop:~/work/gateway/wap$ grep OCTSTR wsp.h wsp_session.c wsp.h: #define OCTSTR(name) Octstr *name; wsp_session.c: #define OCTSTR(name) p->name = NULL; wsp_session.c: #define OCTSTR(name) octstr_destroy(p->name); bruno@laptop:~/work/gateway/wap$ grep REFERER wsp.h wsp_session.c wsp.h: #define REFERER(name) Octstr *name; wsp_session.c: #define REFERER(name) p->name = NULL; wsp_session.c: #define REFERER(name) octstr_destroy(p->name); I really don't understand what tha hell is this warning. OCTSTR macro (and others nearby) is defined just like REFERER and gives no warning. Could someone fix this and elucidate us what is this warning ?