www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/19/06:13:50

From: pavenis AT lanet DOT lv
Message-ID: <B0000098626@stargate.astr.lu.lv>
To: djgpp-workers AT delorie DOT com
Date: Thu, 19 Aug 1999 12:52:35 +0300
MIME-Version: 1.0
Subject: One more filename conflict between libg++ and djdev
X-mailer: Pegasus Mail for Win32 (v3.12)
Reply-To: djgpp-workers AT delorie DOT com

Hi!

Found that when compiling C++ source there is filename conflict 
between $DJDIR/lang/cxx/GetOpt.h (lgpp295b and also earlier libg++ 
binaries) and $DJDIR/include/getopt.h:
	#include <getopt.h>

includes the first one (I tested it under Win95). Best workaround  
could be to renaming  lang/cxx/GetOpt.h to _GetOpt.h and adding line
	GetOpt.h  _GetOpt.h
to lang/cxx/header.gcc

At least after that
	#include <getopt.h>
       #include <GetOpt.h>

really includes both

Andris

- Raw text -


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