This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: POXIX regexp and i686-pc-mingw32-g++


On Thu, May 1, 2014 at 7:38 AM, Jim Reisert AD1C wrote:

> #include <stdarg.h>
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> #include <ctype.h>
>
> #include <regex.h>
>
>
> results in:
>
> # i686-pc-mingw32-g++ -g -Wall -I../../library -c -o csv2adif.o csv2adif.cpp
>
> csv2adif.cpp:12:19: fatal error: regex.h: No such file or directory
>
>
> /usr/include/regex.h
> /usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c++/bits/regex.h
> /usr/lib/gcc/i686-pc-mingw32/4.7.3/include/c++/bits/regex.h


I should have mentioned:

Change "i686-pc-mingw32-g++" to simply "g++" and there is no problem.

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]