www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/20/14:01:23

From: schwenke AT htwm DOT de (Axel Schwenke)
Newsgroups: comp.os.msdos.djgpp
Subject: problem solved
Date: Sun, 20 Oct 96 21:41:58 GMT
Organization: Hochschule f. Technik und Wirtschaft Mittweida
Lines: 23
Message-ID: <54dh35$4ib@strippe.htwm.de>
References: <53foi3$f2 AT strippe DOT htwm DOT de> <54a6gc$4ca AT strippe DOT htwm DOT de>
NNTP-Posting-Host: datamill.mpi.htwm.de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

The Problem with PDcurses is solved. Many thanx to Eli Zaretskii who 
guessed there is a C/C++ ambiguity.

Obviously there is something wrong with <curses.h>, they test
for _cplusplus to recognize C++ mode, but that symbol is not
defined when using gcc to compile C++ code.

Therefore, does anybody know what (automatic) symbol does indicate
you`re compiling in C++ mode? I could not find any Information in
the dokumentation (maybe I overlooked it).

As a quick hack one could add a -D_cplusplus to CFLAGS. 


Neue BIOS Meldung:                                               ||//
WARNING: System In Danger - Detected Win 95 on HD.             ( o o )
-----------------------------------------------------------oOOO--(_)--OOOo--
Axel Schwenke, HTW Mittweida, Fachgruppe Mathematik
Tel.: +49 (0)3727 58 1308                                 .oooO
Mail: schwenke AT htwm DOT de,  WWW: www.htwm.de/~schwenke       (   )   Oooo.
-----------------------------------------------------------\ (----(   )-----
Windows 95 ist jetzt mutitaskingfaehig:                     \_)    ) /
Es kann zur gleichen Zeit booten und abstuerzen !                 (_/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019