View Single Post
Old 04-28-2002, 08:08 AM   #20
Yui Unifex
Senior Member
 
Join Date: Apr 2002
Location: Florida
Posts: 323
Yui Unifex is on a distinguished road
Send a message via ICQ to Yui Unifex Send a message via AIM to Yui Unifex
Question

[/quote]

There's that manual declaration! It's in the implementation file, not the header file. *sighs*, I'll never understand what was going through their minds... At any rate, that's most definately what's causing your problems. On my system, the re_comp.h header file is simply an alias for regex.h. Since you manually declare it here, I'm willing to bet that this declaration differs from the one in regex.h. So REMOVE the "extern int re_exec..." line, and replace it with "#include <regex.h>", and it should solve your problem. If it compiles that way, you can go remove the comments around the is_profane() check.
Yui Unifex is offline   Reply With Quote