www.digitalmars.com         C & C++   DMDScript  

c++ - download version is newest ?

reply "budzhang" <budzhang sina.com> writes:
hi,

I download the version
Digital Mars C/C++ Compiler Version 8.32 (2,957,000 bytes) (NEW!)
but when  I run dmc ,it displays (not is 8.32 ?):

==========================================================================
Digital Mars Compiler Version 8.29n
Copyright (C) Digital Mars 2000-2002.  All Rights Reserved.
Written by Walter Bright  www.digitalmars.com
DMC is a one-step program to compile and link C++, C and ASM files.
Usage ([] means optional, ... means zero or more):
============================================================================
===
Feb 17 2003
parent reply "Nic Tiger" <nictiger progtech.ru> writes:
Try running compiler directly instead:
  scppn.exe

The version embedded in sc.exe and dmc.exe may be older than the compiler
is.

Nic Tiger.

"budzhang" <budzhang sina.com> сообщил/сообщила в новостях следующее:
news:b2s9rq$28hl$1 digitaldaemon.com...
 hi,

 I download the version
 Digital Mars C/C++ Compiler Version 8.32 (2,957,000 bytes) (NEW!)
 but when  I run dmc ,it displays (not is 8.32 ?):

 ==========================================================================
 Digital Mars Compiler Version 8.29n
 Copyright (C) Digital Mars 2000-2002.  All Rights Reserved.
 Written by Walter Bright  www.digitalmars.com
 DMC is a one-step program to compile and link C++, C and ASM files.
 Usage ([] means optional, ... means zero or more):
============================================================================
 ===
Feb 17 2003
parent reply "budzhang" <budzhang sina.com> writes:
thanks first,when I run scppn.exe ,it displays "Digital Mars C/C++ Compiler
Version 8.32.17n"

but when I compile the simplest proggram

#include <stdio.h>
int main()
{
    printf("hello world !\n");
    return 0;
}

it displays :
==========================================================================
  #pragma read_only_file;
                       ^
d:\watcom\H\stdio.h(11) : Warning 17: unrecognized pragma
  #pragma read_only_file;
                       ^
d:\watcom\H\_comdef.h(11) : Warning 17: unrecognized pragma
  #pragma pack(__push,1);
                    ^
d:\watcom\H\stdio.h(22) : Preprocessor error: ')' expected
  #pragma pack(__push,1);
                     ^
d:\watcom\H\stdio.h(22) : Warning 17: unrecognized pragma
#pragma pack(__pop);
                 ^
d:\watcom\H\stdio.h(368) : Preprocessor error: ')' expected
#pragma pack(__pop);
                  ^
d:\watcom\H\stdio.h(368) : Warning 17: unrecognized pragma
=========================================================================
Feb 17 2003
parent reply "Walter" <walter digitalmars.com> writes:
Set your INCLUDE environment variable with the line:

    set INCLUDE=\dm\include

as it seems that it is currently set to your d:\watcom\h directory instead.


"budzhang" <budzhang sina.com> wrote in message
news:b2se94$2cfg$1 digitaldaemon.com...
 thanks first,when I run scppn.exe ,it displays "Digital Mars C/C++
Compiler
 Version 8.32.17n"

 but when I compile the simplest proggram

 #include <stdio.h>
 int main()
 {
     printf("hello world !\n");
     return 0;
 }

 it displays :
 ==========================================================================
   #pragma read_only_file;
                        ^
 d:\watcom\H\stdio.h(11) : Warning 17: unrecognized pragma
   #pragma read_only_file;
                        ^
 d:\watcom\H\_comdef.h(11) : Warning 17: unrecognized pragma
   #pragma pack(__push,1);
                     ^
 d:\watcom\H\stdio.h(22) : Preprocessor error: ')' expected
   #pragma pack(__push,1);
                      ^
 d:\watcom\H\stdio.h(22) : Warning 17: unrecognized pragma
 #pragma pack(__pop);
                  ^
 d:\watcom\H\stdio.h(368) : Preprocessor error: ')' expected
 #pragma pack(__pop);
                   ^
 d:\watcom\H\stdio.h(368) : Warning 17: unrecognized pragma
 =========================================================================
Feb 17 2003
parent "budzhang" <budzhang sina.com> writes:
thanks , it is ok

"Walter" <walter digitalmars.com> wrote in message
news:b2sepl$2d1b$1 digitaldaemon.com...
 Set your INCLUDE environment variable with the line:

     set INCLUDE=\dm\include

 as it seems that it is currently set to your d:\watcom\h directory
instead.
Feb 17 2003