delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/07/23/16:10:35

Xref: news-dnh.mv.net comp.os.msdos.djgpp:1101
Path: news-dnh.mv.net!mv!news.sprintlink.net!simtel!fu-berlin.de!news.belwue.de!gold.t-informatik.ba-stuttgart.de!jscharrl
From: jscharrl AT ba-stuttgart DOT de (Jochen Scharrlach)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [Q] DJGPP2. PC.H problems.
Date: 23 Jul 1995 16:39:53 GMT
Organization: Berufsakademie Stuttgart
Lines: 24
References: <805268499 DOT 107snx AT techm DOT pl DOT my> <3ug031$se1 AT mserv1 DOT dl DOT ac DOT uk>
Reply-To: jscharrl AT ba-stuttgart DOT de
Nntp-Posting-Host: gold.t-informatik.ba-stuttgart.de
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

I. Badcoe (mbbad AT s-crim1 DOT dl DOT ac DOT uk) wrote:
> This is 'cos the pc.h header doesn't contain the lines to declare the function
> calls a C-calls when using C++, bracket it with:

> #ifdef _cplusplus
> extern "C" {
> #endif
> ...
> #ifdef _cplusplus
> }
> #endif

I don't think this will help, because this is a problem of the scanner
which won't be changed with the 'extern "C" {} '. Just separate the
"::" to ": :" and everything works fine!

Bye,
Jochen

--
                      ------------------------------------
                      EMail:   jscharrl AT ba-stuttgart DOT de
                         or:   acorn1 AT ftp DOT uni-stuttgart DOT de
                      ------------------------------------

- Raw text -


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