c++.dos.32-bits - Internal error
- Gisle Vanem (10/10) Apr 13 2003 The following file:
- Walter (6/16) Apr 13 2003 For now, you can:
- Gisle Vanem (5/9) Apr 14 2003 The c/asm sources are compiled with other compilers too
- Walter (3/13) Apr 14 2003 Patchobj will still work - you can use it on the output of DMC.
The following file: extern const char cdecl x86_type; #pragma alias (x86_type, "x86_type") int main (void) {} causes an internal error: e:\net\watt\src>dmc test.c Internal error: nwc 749 I need the alias to avoid the '_' prefix. The variable is allocated in an external asm-file. --gv
Apr 13 2003
For now, you can: 1) change the .asm file 2) use __pascal instead of __cdecl 3) use patchobj to change the name in the .obj file "Gisle Vanem" <gvanem eunet.no> wrote in message news:b7cqh2$29ot$1 digitaldaemon.com...The following file: extern const char cdecl x86_type; #pragma alias (x86_type, "x86_type") int main (void) {} causes an internal error: e:\net\watt\src>dmc test.c Internal error: nwc 749 I need the alias to avoid the '_' prefix. The variable is allocated in an external asm-file. --gv
Apr 13 2003
"Walter" <walter digitalmars.com> wrote:For now, you can: 1) change the .asm file 2) use __pascal instead of __cdecl 3) use patchobj to change the name in the .obj fileThe c/asm sources are compiled with other compilers too (into a lib), so that's not an option. Will it be fixes in next version? I'm using the latest. AFAICT it's 8.33.13. --gv
Apr 14 2003
Patchobj will still work - you can use it on the output of DMC. "Gisle Vanem" <gvanem eunet.no> wrote in message news:b7e089$5t3$1 digitaldaemon.com..."Walter" <walter digitalmars.com> wrote:For now, you can: 1) change the .asm file 2) use __pascal instead of __cdecl 3) use patchobj to change the name in the .obj fileThe c/asm sources are compiled with other compilers too (into a lib), so that's not an option. Will it be fixes in next version? I'm using the latest. AFAICT it's 8.33.13. --gv
Apr 14 2003