X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: X-Originating-IP: [70.53.60.62] X-Originating-Email: [april_white AT sympatico DOT ca] Message-ID: <45607C01.6020904@sympatico.ca> Date: Sun, 19 Nov 2006 10:45:05 -0500 From: April White User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Djgpp C compiler regEx comilation PB References: <45605ffa$0$2291$426a34cc AT news DOT free DOT fr> In-Reply-To: <45605ffa$0$2291$426a34cc@news.free.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Nov 2006 15:54:44.0093 (UTC) FILETIME=[07E7AAD0:01C70BF3] Reply-To: djgpp AT delorie DOT com Hello Martin. I have not dabbled with DJGPP for a while, but I'll give my 2 cents worth. You will notice that the check for C++ has a matching #endif right afterwards, it merely wraps the following contents within the extern "C" block. #ifdef __cplusplus extern "C" { #endif I grepped the djgpp\include directory for "off_t" and found it is used other files, and finally located: #define __DJ_off_t typedef int off_t; within sys/djtypes.h: so it seems that if you include sys/djtypes.h before regex.h it may work. April -- The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' ('I found it!') but rather 'Hmm, that's funny...' - Isaac Asimov, 1920 - 1992