Thread overview
building mozilla w/ DMC
Jul 02, 2001
Josh Soref
Jul 02, 2001
Jan Knepper
Aug 01, 2001
Christof Meerwald
July 02, 2001
yeah i'm dreaming, but i'd still like to see it happen. right now i have a testfile from mozilla that won't build w/ dmc (or bcw).

this 'file' (it's actually the trimmed preprocessed output from ms cl for some file in mozilla)

Walter, are the features used here things on your todolist?

-sc digital mars 8.0B2n (from CD)-
F1004.borland.cpp(104) : Error: identifier or '( declarator )' expected
template <>
          ^
F1004.borland.cpp(121) : Error: no identifier for declarator
Fatal error: too many errors

Analysis: dm8.0 doesn't support |template<>|

-cpp32 borland c++ 5.5-
Fatal F1004 F1004.borland.cpp 350: Internal compiler error at 0x45e5a9 with base
 0x400000
Fatal F1004 F1004.borland.cpp 350: Internal compiler error

Analysis: bc5.5 doesn't support |using|

fwiw,
http://www.mozilla.org/hacking/portable-cpp.html
http://www.mozilla.org/projects/xpcom/nsCOMPtr.html

thanks.

July 02, 2001
Josh Soref wrote:

> yeah i'm dreaming, but i'd still like to see it happen. right now i have a testfile from mozilla that won't build w/ dmc (or bcw).

I've once thought about trying it, but I have been, short in time the last 5 years... <g>

Jan


August 01, 2001
On Mon, 02 Jul 2001 13:16:41 -0400, Josh Soref wrote:

> yeah i'm dreaming, but i'd still like to see it happen. right now i have a testfile from mozilla that won't build w/ dmc (or bcw).
>
> this 'file' (it's actually the trimmed preprocessed output from ms cl for
> some file in mozilla)

using the preprocessor output from ms vc++ probably isn't a good idea - you should have a look at nscore.h for some compiler capability defines:

In particular you should undef HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX, HAVE_CPP_EXPLICIT, HAVE_CPP_TYPENAME (and probably others) for dm8.x.


> -sc digital mars 8.0B2n (from CD)-
> F1004.borland.cpp(104) : Error: identifier or '( declarator )' expected
> template <>

I think just deleting "template <>" will be fine in this case (but the C++ capability defines should already take care of that).


bye, Christof

-- 
http://cmeerw.cjb.net                          Jabber: cmeerw@jabber.at mailto cmeerw at web.de                   ICQ: 93773535, Yahoo!: cmeerw

...and what have you contributed to the Net?