Thread overview
download version is newest ?
Feb 18, 2003
budzhang
Feb 18, 2003
Nic Tiger
another problem
Feb 18, 2003
budzhang
Feb 18, 2003
Walter
it's ok
Feb 18, 2003
budzhang
February 18, 2003
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):
============================================================================
===


February 18, 2003
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):
>
============================================================================
> ===
>
>


February 18, 2003
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
=========================================================================


February 18, 2003
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
> =========================================================================
>
>


February 18, 2003
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.