On Thursday 30 May 2002 5:15 pm, Jean-Marc Lasgouttes wrote:
> Thomas> When I manually add "-I$(top_srcdir)/src/cheaders" to CPPFLAGS
> Thomas> in src/insets/Makefile (configure decided to put
> Thomas> "lyx_cv_cxx_cheaders=yes" in config.cache), I get conflicts:
>
> This is only needed for cxx <6.3, indeed. Actually, these new cheaders
> are probably the main reason why you have problems with cxx 6.5.
>
> Thomas> Well, with an ugly "#include <time.h>" it compiles.
>
> What is the reason why <ctime> does not provide it? It looks like a
> reasonable standard thing... Did you try a simple 'using std::difftime;'?

Don't you have to set a flag to use the cxx equivalent of cheaders. I 
remember reading you do.

In which case, you should reconfigure with this flag set in either your CXX 
or CXXFLAGS variable. Not sure which.

Angus

Reply via email to