src/include/Regexp.h won't compile (Linux, egcs)
>From my /usr/include/regexp.h:
/* POSIX says that <sys/types.h> must be included (by the caller) before
   <regex.h>.  */

--- Regexp.h.old        Fri Jan 29 02:45:46 1999
+++ Regexp.h    Fri Jan 29 02:46:07 1999
@@ -21,6 +21,7 @@
 
 // Some structure in regex.h decleares pair so it must
 // be placed before pair.h (Lgb)
+#include <sys/types.h>
 #include <regex.h>
 #include <pair.h>
 #include "LString.h"

Next problem seems to have to do with LString, I don't know what to do
about it (well, I could simply add an Error::print(char *) I suppose, but
1.0 casts the c string to an LString some way?): 
../../src/include/filetools.h: In method `void FilePtr::do_open(const class
basic_string<char,string_char_traits<char>,__default_alloc_template<true,0>
> &, enum FilePtr::file_mode)':
In file included from filetools.C:27:
../../src/include/filetools.h:106: no matching function for call to
`Error::print (char[41])'





Joacim
-
With both feet on the ground, you won't get very far.
                -- Loesje

Reply via email to