This is the mail archive of the
mailing list for the Cygwin project.
dbm.h reserved word.
- To: <cygwin at cygwin dot com>
- Subject: dbm.h reserved word.
- From: "Travis Smith" <tazium at yahoo dot com>
- Date: Mon, 23 Apr 2001 17:31:19 -0400
- Reply-To: <tazium at yahoo dot com>
Using experimental packages of gcc, mingw, w32, cygwin.
extern GDBM_EXPORT(int, delete) ();
Which after looking at the top defines into:
GDBM_IMPEXP int GDBM_API delete ();
which goes to
__declspec(dllexport) int __cdecl delete ();
which is pulling delete from a dll as far as I know. (I haven't worked with
dlls too much).
There's a parse error on that line. I'm done, I don't know what's up.
~/src $ cat main.cpp
int main ( void )
~/src $ make
gcc -c -o main.o main.cpp
In file included from main.cpp:1:
/usr/include/dbm.h:85: parse error before `delete'
make: *** [main.o] Error 1
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple