Thread overview |
---|
February 18, 2003 download version is newest ? | ||||
---|---|---|---|---|
| ||||
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 Re: download version is newest ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to budzhang | 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 another problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nic Tiger | 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 Re: another problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to budzhang | 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 it's ok | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | 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. |
Copyright © 1999-2021 by the D Language Foundation