Title: | AMIGA NOTES |
Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 |
Moderator: | HYDRA::MOORE |
Created: | Sat Apr 26 1986 |
Last Modified: | Wed Feb 05 1992 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 5378 |
Total number of notes: | 38326 |
Could someone who is familiar with the two C compilers (LATTICE/MANX) post a summary of the syntatic and functional differences between the two. Basically, I have Lattice and if I ever post any code I would like to at least try to remove any major nits which MANX would barf on. I hope I not asking for much, I assume there are less than a dozen or so things to consider. For example, there may be instances where Lattice assumes LONG declarations and MANX requires casting to LONG. thanks, steve mcafee
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
522.1 | SQM::JMSYNGE | James M Synge, VMS Performance Anal. | Tue Jun 02 1987 18:34 | 11 | |
A major difficulty is indeed the 32 bit int vs. the 16 bit int. Specifically, anywhere in your code that you need more than 16 bits, then explicitly specify long. So if you are calling a library routine which expects a 32 bit int, and you are passing a constant, then cast the constant to a long by appending an L to it. Also, Manx is missing function prototypes, so don't included them in your code, or at least put a #define around them. James |