Lars Gullik Bjønnes a écrit :
João Luis Meloni Assirati <[EMAIL PROTECTED]> writes:
| Hello,
|
| Today I cannot compile lyx. These are my configurations:
Hmm.. after all the testing I did, and I still failed to see this...
strange.
| g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src -I../../../boost -W
| -Wall -I/usr/X11R6/include -g -O -MT biblio.lo -MD -MP -MF .deps/biblio.Tpo
| -c biblio.C -o biblio.o
| biblio.C: In function `const std::string
| lyx::biblio::<unnamed>::escape_special_chars(const std::string&)':
| biblio.C:379: error: `RegEx' undeclared in namespace `boost'
| biblio.C:379: error: parse error before `(' token
| biblio.C:385: error: `reg' undeclared (first use this function)
| biblio.C:385: error: (Each undeclared identifier is reported only once for
| each
| function it appears in.)
biblio.C needs to be rewritten to use boost::regex and not RegEx.
FYI, compilation stops at the same location for me:
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src
-I../../../boost -I/d/program/Aspell-0.60.4/include -fno-exceptions -Os
-mms-bitfields -MT biblio.lo -MD -MP -MF .deps/biblio.Tpo -c biblio.C -o
biblio.o
biblio.C: In function `const std::string
lyx::biblio::<unnamed>::escape_special_chars(const std::string&)':
biblio.C:379: error: `RegEx' is not a member of `boost'
biblio.C:379: error: expected `;' before "reg"
biblio.C:385: error: `reg' undeclared (first use this function)
biblio.C:385: error: (Each undeclared identifier is reported only once
for each function it appears in.)
biblio.C: At global scope:
biblio.C:419: error: ISO C++ forbids declaration of `RegEx' with no type
biblio.C:419: error: invalid use of `::'
biblio.C:419: error: expected `;' before "regex_"
biblio.C: In constructor
`lyx::biblio::<unnamed>::RegexMatch::RegexMatch(const
lyx::biblio::InfoMap&, const std::string&, bool)':
biblio.C:397: error: class `lyx::biblio::<unnamed>::RegexMatch' does not
have any field named `regex_'
biblio.C: In member function `bool
lyx::biblio::<unnamed>::RegexMatch::operator()(const std::string&) const':
biblio.C:412: error: `regex_' undeclared (first use this function)
biblio.C: In member function `bool
lyx::biblio::<unnamed>::RegexMatch::validRE() const':
biblio.C:415: error: `regex_' undeclared (first use this function)