Thread View: comp.os.os2.programmer
1 messages
1 total messages
Started by Dipankar Gupta
Wed, 31 Oct 1990 04:51
C Compilers for OS/2
Author: Dipankar Gupta
Date: Wed, 31 Oct 1990 04:51
Date: Wed, 31 Oct 1990 04:51
24 lines
1254 bytes
1254 bytes
I would like to know of C compilers for OS/2 and their relative merits/demerits. I have the following gripes with MS C5.10 that I currently use: 1. Can't generate native 386 code.\ 2. Pointer arithmetic is 16 bits wide. I use a lot of *large* data-structures (created with DosAllocHuge ()), and pointer arithmetic bombs at segment boundaries. It's plain painful to use a cast thus: ULONG HUGE *x, HUGE *y; ULONG PDiff; /* a difference > 16K means another segment ... */ x = (ULONG HUGE *)(y + PDiff); or worse still, transform x++ to x = (ULONG HUGE *) (x + 0x1L) Downright ridiculous. Are there any compilers (I use OS/21.1 BTW) that don't have these problems? Thanks Dipankar Gupta dg@hplb.hpl.hp.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads