January 11, 2003
Fabulous work! Kudos to all people involved!

Regards,

-- 
Cesar Rabak
GNU/Linux User 52247.
Get counted: http://counter.li.org/
January 11, 2003
Walter wrote:
> 
> www.digitalmars.com/compiler.htm
> 
> This is a pretty major upgrade from a compiler standards conformance perspective. Be sure and upgrade to the new STLport DMC++ conversion, too.
Given I just updated (CD install) my installation from 8.31 to 8.32(2),
and the 'smoke' test for the STL port already worked, I'm surprised I'm
now getting the following error msg:

C:\dm\stlport>sc hello.cpp -I\dm\stlport\stlport \dm\lib\stlp45dms.lib
-D_DLL
    cout << "Hello world\n";
          ^
hello.cpp(5) : Error: undefined identifier 'cout'
    cout << "Hello world\n";
                           ^
hello.cpp(5) : Warning 6: value of expression is not used
--- errorlevel 1

C:\dm\stlport>


Also, if you do not consider a nit pick, may I suggest we change the reference 'sc' to 'dmc'?

HTH
-- 
Cesar Rabak
GNU/Linux User 52247.
Get counted: http://counter.li.org/
January 11, 2003
That can happen if you use <iostream> and omit:
    using namespace std;


"Cesar Rabak" <csrabak@uol.com.br> wrote in message news:3E205983.8610463B@uol.com.br...
> Walter wrote:
> >
> > www.digitalmars.com/compiler.htm
> >
> > This is a pretty major upgrade from a compiler standards conformance perspective. Be sure and upgrade to the new STLport DMC++ conversion,
too.
> Given I just updated (CD install) my installation from 8.31 to 8.32(2),
> and the 'smoke' test for the STL port already worked, I'm surprised I'm
> now getting the following error msg:
>
> C:\dm\stlport>sc hello.cpp -I\dm\stlport\stlport \dm\lib\stlp45dms.lib
> -D_DLL
>     cout << "Hello world\n";
>           ^
> hello.cpp(5) : Error: undefined identifier 'cout'
>     cout << "Hello world\n";
>                            ^
> hello.cpp(5) : Warning 6: value of expression is not used
> --- errorlevel 1
>
> C:\dm\stlport>
>
>
> Also, if you do not consider a nit pick, may I suggest we change the reference 'sc' to 'dmc'?
>
> HTH
> --
> Cesar Rabak
> GNU/Linux User 52247.
> Get counted: http://counter.li.org/


January 11, 2003
Walter wrote:
> 
> That can happen if you use <iostream> and omit:
>     using namespace std;
> 
OK. So I believe we should change the example 'hello.cpp' file.

I changed it to have the 'std::' ahead cout and now it compiles OK. So the new hello.cpp must be:

#include <iostream>

int main()
{
    std::cout << "Hello world\n";
}

HTH

-- 
Cesar Rabak
GNU/Linux User 52247.
Get counted: http://counter.li.org/
January 11, 2003
Another suggestion:

On the updated README.TXT there are instructions for the installation of the STL libraries. In particular, the text says:

"...
which will build them into \dm\stlport\lib. To install them:

        xcopy \dm\stlport\lib\*.lib \dm\lib
        xcopy \dm\stlport\lib\*.dll \dm\dll
..."

Since the \dm\dll directory is not part of the common installation, we arrive at a situation where a just compiled program which require any of the DLLs (as for example compiling the hello.cpp w/-D_DLL) not running, because the executable cannot find the DLLs.

I suggest we copy them to the \dm\bin subdir (which will be on the developer's path) so it will be possible test the applications.

Of course, should you decide to distribute the application, you should not forget to include the pertaining DLLs!

HTH

-- 
Cesar Rabak
GNU/Linux User 52247.
Get counted: http://counter.li.org/
January 11, 2003
It's supposed to be \dm\bin. \dm\dll is a typo.

"Cesar Rabak" <csrabak@uol.com.br> wrote in message news:3E206F80.F748117E@uol.com.br...
> Another suggestion:
>
> On the updated README.TXT there are instructions for the installation of the STL libraries. In particular, the text says:
>
> "...
> which will build them into \dm\stlport\lib. To install them:
>
>         xcopy \dm\stlport\lib\*.lib \dm\lib
>         xcopy \dm\stlport\lib\*.dll \dm\dll
> ..."
>
> Since the \dm\dll directory is not part of the common installation, we arrive at a situation where a just compiled program which require any of the DLLs (as for example compiling the hello.cpp w/-D_DLL) not running, because the executable cannot find the DLLs.
>
> I suggest we copy them to the \dm\bin subdir (which will be on the developer's path) so it will be possible test the applications.
>
> Of course, should you decide to distribute the application, you should not forget to include the pertaining DLLs!
>
> HTH
>
> --
> Cesar Rabak
> GNU/Linux User 52247.
> Get counted: http://counter.li.org/


January 13, 2003
On Fri, 10 Jan 2003 23:24:58 -0800, "Walter" <walter@digitalmars.com> wrote:

>
>"Christof Meerwald" <cmeerw@web.de> wrote in message news:avjko7$1ffu$1@digitaldaemon.com...
>> The CD Update doesn't include an updated dynamic runtime library (sccrt70.dll) - some exception handling tests fail with the old dll
>
>It does now :-)
>
>Thanks.
>

Darn! Slipstreaming already. =:(

Just my luck I downloaded it on 10 Jan 2003. But I've got it now. =:)
 ../frank
1 2
Next ›   Last »