www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - download version is newest ?

↑ ↓ ← "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
↑ ↓ "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
↑ ↓ "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
↑ ↓ "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++

 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
↑ ↓ → "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

Feb 17 2003