[/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.
|