delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/11/05/03:23:52

To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: ~/include/sys/dirent.h
From: david nugent <david AT csource DOT oz DOT au>
Reply-To: david AT csource DOT oz DOT au
Date: Thu, 05 Nov 92 17:15:35 +1100
Organization: Unique Computing Pty Ltd, Melbourne, Australia

~/include/sys/dirent.h doesn't have:

# ifdef __cplusplus
extern "C" {
# endif

    //...

# ifdef __cplusplus
}
# endif

around the function prototypes.  This results in link errors when any
of those functions are used in C++ programs.


david


Smoke me a kipper, Skipper - I'll be back for breakfast! - "Ace" Rimmer
david AT csource DOT oz DOT au 3:632/348 AT fidonet 58:4100/1 AT intlnet 199:4242/5 AT rainbownet
Unique Computing P/L / Communications+LAN Specialists / Public Access USENET
PO Box 352, Doveton, VIC, Aust 3144. Data/BBS: +61-3-792-3507 / +61-3-794-7949

- Raw text -


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