| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| X-Apparently-From: | <tazium AT yahoo DOT com> |
| Reply-To: | <tazium AT yahoo DOT com> |
| From: | "Travis Smith" <tazium AT yahoo DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | dbm.h reserved word. |
| Date: | Mon, 23 Apr 2001 17:31:19 -0400 |
| Message-ID: | <IHEAIGPOPDKNBALAMEDOIEKPCAAA.tazium@yahoo.com> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) |
| Importance: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.3018.1300 |
Using experimental packages of gcc, mingw, w32, cygwin.
<dbm.h:85>
extern GDBM_EXPORT(int, delete) ();
</dbm.h>
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.
<log>
~/src $ cat main.cpp
#include <dbm.h>
int main ( void )
{
return 0;
}
~/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
~/src $
</log>
~Travis Smith
IT Professional
tazium AT yahoo DOT com
_________________________________________________________
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |