ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/11/20/18:46:28

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Jean Pierre Daviau" <Once AT WasEno DOT ugh>
Newsgroups: comp.os.msdos.djgpp
References: <45605ffa$0$2291$426a34cc AT news DOT free DOT fr> <45620f0f$0$20517$426a34cc AT news DOT free DOT fr>
Subject: Re: Djgpp C compiler regEx comilation PB
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
X-Antivirus: avast! (VPS 0649-2, 2006-11-20), Outbound message
X-Antivirus-Status: Clean
Message-ID: <n%q8h.73763$es.898409@weber.videotron.net>
Date: Mon, 20 Nov 2006 18:37:49 -0500
NNTP-Posting-Host: 66.131.142.130
X-Complaints-To: abuse AT videotron DOT ca
X-Trace: weber.videotron.net 1164065875 66.131.142.130 (Mon, 20 Nov 2006 18:37:55 EST)
NNTP-Posting-Date: Mon, 20 Nov 2006 18:37:55 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

Reading your post I tried it but I am a newbe.

G:\Dev-Cpp\DJGPPP~1\Regex>C:\djgpp\bin\gcc -omygrep.exe mygrep.c

In file included from mygrep.c:21:
c:/djgpp/include/regex.h:17: parse error before `regoff_t'
c:/djgpp/include/regex.h:17: warning: data definition has no type or storage 
cla
ss
c:/djgpp/include/regex.h:25: parse error before `regoff_t'
c:/djgpp/include/regex.h:25: warning: no semicolon at end of struct or union
c:/djgpp/include/regex.h:26: warning: data definition has no type or storage 
cla
ss
c:/djgpp/include/regex.h:27: warning: data definition has no type or storage 
cla
ss
c:/djgpp/include/regex.h:66: parse error before `regmatch_t'
mygrep.c: In function `match_patterns':
mygrep.c:31: `result' undeclared (first use in this function)
mygrep.c:31: (Each undeclared identifier is reported only once
mygrep.c:31: for each function it appears in.)
mygrep.c:32: parse error before `char'
mygrep.c:35: parse error before `)'
mygrep.c:35: parse error before `)'
mygrep.c: At top level:
mygrep.c:41: parse error before `while' 


- Raw text -


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