CompuServe Archive

This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.

Search Results (128 messages)

From: David Hamkins AmigaTech Forum · C Programming February 20, 1990 5:07 PM
Touchee! Yet again, division of source is a matter of convenience. I find it easier to code using several large modules rather than too many small ones.
From: David Hamkins AmigaTech Forum · C Programming February 19, 1990 11:32 AM
Ah, but I do have a rather fast (2500) Amiga. And my compile times aren't long. For this reason, I see absolutely no reason to code using multitudinous source modules. I take it as an affront that SDB does not support my personal preference for coding. Should I change my…
From: David Hamkins AmigaTech Forum · C Programming February 19, 1990 7:06 AM
I *just* knew I was not alone :-). Ben, did you just recently take up am. radio?
From: David Hamkins AmigaTech Forum · C Programming February 18, 1990 11:16 AM
It's hard to say whether or not you should upgrade. I've found several bugs in 5.0a, so it may be better to wait awhile. On the other hand, I value ANSI compatibility, and find function prototypes almost essential. If you don't mind putting up with a few bugs, I'd say…
#90647 Manx 5.0 problems Message #90714
From: David Hamkins AmigaTech Forum · C Programming February 18, 1990 11:12 AM
Are you running under an official release of AmigaDOS? If so what version?
From: David Hamkins AmigaTech Forum · C Programming February 18, 1990 11:06 AM
Perhaps you're right John. However, by the time a big project gets done, you'd probably (at least I would) end up with 20+ modules. How would you ever find anything? I guess this represents a matter of coding style. I like fewer source modules with rather broad topical content. Using…
#90698 Kicking a Down Man Message #90711
From: David Hamkins AmigaTech Forum · C Programming February 18, 1990 11:00 AM
Well said John. Guess I'm a sucker for ANSI compatibility though :-).
From: David Hamkins AmigaTech Forum · C Programming February 16, 1990 6:04 AM
Aw, come on John. My modules are organized by topic. The current program I'm working on currently has 8 modules, and 3 header files. I comment my source code liberally, so not withstanding the division of source among several modules, it is not uncommon to see a couple 1000+ line…
From: David Hamkins AmigaTech Forum · C Programming February 16, 1990 5:58 AM
Your development strategey seems reasonable – maintain code with proven compilers. I'm developing new stuff though. Perhaps the current strain (of compilers) will be stable by the time I get done. BTW – How's Syndesis?
From: David Hamkins AmigaTech Forum · C Programming February 15, 1990 4:39 PM
I hear you Mike. Certainly it is much easier tracking down bugs with concrete examples. On the other hand, as a consumer, I feel that pin-pointing bugs is not my responsibility. Beta-testers get paid for that. I, on the other hand, have to take valuable time away from programming to…
From: David Hamkins AmigaTech Forum · Other Languages February 15, 1990 4:32 PM
Mike, while on the subject of prototypes, I might add that arguments for functions within functions are dropped as the following example illustrates. The prototype for void more( int (*function)( int mia ) ) { } is void more(int (*function)()); Where did "mia" go? P.S. I contacted Manx about 6…
From: David Hamkins AmigaTech Forum · C Programming February 15, 1990 1:43 PM
The following examples illustrate some of the bugs I've encountered with 5.0a to date. Bug 1: 5.0a treats 0.0 as a char in the presence of float prototypes. Example: void foo( float null ) { } main(void) { foo( 0.0 ) ; } Aztec C Version 5.0a Jan 9 1990…
From: David Hamkins AmigaTech Forum · Other Languages February 15, 1990 1:40 PM
I have tried Manx tech support in the past with *ABSOLUTELY* no good results. Examples have been posted on this forum.
#90305 Floating Point Message #90336
From: David Hamkins AmigaTech Forum · C Programming February 15, 1990 1:39 PM
The following examples illustrate some of the bugs I've encountered with 5.0a to date. Bug 1: 5.0a treats 0.0 as a char in the presence of float prototypes. Example: void foo( float null ) { } main(void) { foo( 0.0 ) ; } Aztec C Version 5.0a Jan 9 1990…
#90301 #Floating Point Message #90334
From: David Hamkins AmigaTech Forum · C Programming February 15, 1990 1:36 PM
Me too :-). SDB is still very slow when displaying source from lengthy source modules though. Oh well.
From: David Hamkins AmigaTech Forum · C Programming February 15, 1990 1:34 PM
Who me? A programming error. Nah, couldn't be :-). John, I know you're a big Manx advocate, citing product stability as its strong point. 5.0a has shaken my confidence. Examples will be posted to Mike in this forum. Stay tuned …
#90201 #Floating Point Message #90291
From: David Hamkins AmigaTech Forum · C Programming February 15, 1990 8:32 AM
I'll re-read the relevant information Mike. However, K&R/ANSI function mixing should *NOT* result in code generation errors of the type I'm encountering. Yes, yes – examples will follow :-).
#90199 More Manx Woes Message #90288
From: David Hamkins AmigaTech Forum · C Programming February 15, 1990 8:27 AM
In the past I've been *VERY* disappointed with Manx technical support. I'm glad to see that Manx is finally (at least I hope so) trying to correct this. I'll post examples very soon.
#90184- #How d'ya like yer Manx? Message #90286
From: David Hamkins AmigaTech Forum · Other Languages February 15, 1990 8:24 AM
Dave – Since I've gone through all the trouble to install 5.0a, I'm trying to stick with it. I'd probably be using Lattice right now, except that I left all my Lattice documentation back home – I'm on a temporary assignment away from home right now. If 5.0a bombs out…
#89740 Floating Point Message #89866
From: David Hamkins AmigaTech Forum · C Programming February 12, 1990 7:07 PM
No, didn't read that particular read.me file. Too bad about doubles. It seems that 5.0a may be buggy for awhile; too many changes have occurred – default int sizes have switched and now the compiler is "ANSI conformant". I just wish the 5.0a release was a bit more stable. I'm…
#89545 #Floating Point Message #89663
From: David Hamkins AmigaTech Forum · C Programming February 11, 1990 3:35 PM
I'm experiencing trouble with floats also. Prototypes don't always work with floats. Constants are sometimes coerced to char in the presence of prototypes. I finally gave up and am using double. This is working (for now).
More Manx Woes Message #89568
From: David Hamkins AmigaTech Forum · C Programming February 10, 1990 10:01 PM
ARGHHH! More problems with 5.0a. The -bd option seems to wipe out the statement following its invocation. Took me 3 hours to track this @?!!!ing bug down. Also, the 5.0a setdat utility no longer works. Finally, sizeof() may be broken. Anyone else out there encountering similar problems?
From: David Hamkins AmigaTech Forum · C Programming February 10, 1990 10:45 AM
Anyone out there encountering problems with Manx 5.0a? I can't seem to get function prototypes to work. Manx generates faulty prototypes when functions are passed pointers to arrays, and needlessly generates warnings for seemingly valid prototypes. I've always thought that Manx's strong point was an error-free compiler. My experience with…
#77413- Manx 5.0 C? Message #77691
From: David Hamkins AmigaTech Forum · C Programming December 7, 1989 9:52 PM
Jim, Where did you get your Arexx scripts for CED? Mumble, mumble, Manx 5.0, mumble mumble 🙂 Dave @OTG
#10700 AmiEXPO Chicago Message #10711
From: David Hamkins Amiga Vendor Forum · Syndesis July 29, 1989 6:19 PM
Groan! 🙂 Dave @OTG
From: David Hamkins AmigaTech Forum · C Programming July 29, 1989 1:02 AM
Geo, No sexism intended. Dave @OTG
#10677 #AmiEXPO Chicago Message #10690
From: David Hamkins Amiga Vendor Forum · Syndesis July 28, 1989 4:11 PM
Use the RM Function to read this message. The following DLs need attention: 2 8 9
#59038 C coding style Message #59080
From: David Hamkins AmigaTech Forum · C Programming July 27, 1989 6:32 AM
Um, but then again I picked up the 3 character indent habit from ed. Can't teach an old dog … 🙂 Dave @OTG
From: David Hamkins AmigaTech Forum · C Programming July 26, 1989 7:43 AM
I can hardly wait. I think I'll name the segments, grr, argh, and ?#*!!! (well, maybe not ?#!!!) 🙂 Dave @OTG
From: David Hamkins AmigaTech Forum · C Programming July 26, 1989 7:40 AM
From: David Hamkins AmigaTech Forum · C Programming July 26, 1989 7:39 AM
From: David Hamkins AmigaTech Forum · C Programming July 25, 1989 8:59 PM
Ah, right now you don't foresee the need to port. But who knows – 5, 10 years from now you might look back and say, "Gee. Wish I'd written that program in a portable fashion so that it would run on C= new Superwhatever computer." Programmers who write portably, are…
From: David Hamkins AmigaTech Forum · C Programming July 25, 1989 5:46 PM
I haven't had time to really evaluate LSE. On the surface LSE seems ok, but my editor of choice at the moment is probably a heck of a lot better. Believe it or not, some developers still use ed! Once an editor is learned, there is a tremendous disincentive to…
From: David Hamkins AmigaTech Forum · C Programming July 25, 1989 5:41 PM
Maybe you don't need portability. Portability is a design decision. I strive to maintain portability so that I can pick the best compiler to work with, can move my code to other systems, and in the event that my compiler vendor of choice goes down the tubes. Dave @OTG
From: David Hamkins AmigaTech Forum · C Programming July 25, 1989 1:17 PM
Bob, On the otherhand, lc seems to insist on breaking stuff down into an excessive number of segments. If your program is small enough, you can get around this with SMALLDATA and SMALLCODE. I've got a 150K program which takes about 6 seconds to load from ram:! Breaking code into…
From: David Hamkins AmigaTech Forum · C Programming July 25, 1989 1:13 PM
Brian, I am refering to Manx's make utility not understanding c.o: default rules across files. You can work around this shortcomming, but you shouldn't have to. Dave @OTG
From: David Hamkins AmigaTech Forum · C Programming July 25, 1989 1:12 PM
I'm not sure of its orgin, but 'foo' is used to mean "any program" or "any function". Dave @OTG
From: David Hamkins AmigaTech Forum · C Programming July 25, 1989 1:10 PM
#58735 C coding style Message #58775
From: David Hamkins AmigaTech Forum · C Programming July 25, 1989 7:52 AM
Don, I hate it when lines end up longer than will fit on my 80-column display. Using only 3 spaces alleviates most of the problems. Dave @OTG (An old ed habit? :-))
From: David Hamkins AmigaTech Forum · C Programming July 25, 1989 7:48 AM
The same version you've probably got. Max's make cannot understand dependancy rules that span directories – a sin I find difficult to forgive. Dave @OTG
From: David Hamkins AmigaTech Forum · C Programming July 25, 1989 7:46 AM
Brian, I was comparing Manx's make to Lattice's lmk. Manx's make is a semi-functional utility 🙂 Dave @OTG
From: David Hamkins AmigaTech Forum · C Programming July 25, 1989 7:45 AM
From: David Hamkins AmigaTech Forum · C Programming July 25, 1989 7:37 AM
Larry, You could also code the beginning and end in asembly, and have your assembly routine call a C function. If you need portable code, this is the way to do it. Dave @OTG
From: David Hamkins AmigaTech Forum · C Programming July 25, 1989 7:35 AM
Brian, You may be able to understand your ILAC, but heaven forbid that you have to move your code to another compiler. Ben is largely correct. ILAC serves relatively little purpose in production code. Dave @OTG
#58689 #C coding style Message #58705
From: David Hamkins AmigaTech Forum · C Programming July 24, 1989 9:53 PM
Nope, it was the fact that you're braces aren't on a line all by themselves 🙂 Dave @OTG
From: David Hamkins AmigaTech Forum · C Programming July 24, 1989 9:48 PM
Yup, you get a wierd software bug tracking number. Lattice (supposedly) notifies you when they fix the bug if you're the first to report it. Dave @OTG
From: David Hamkins AmigaTech Forum · C Programming July 24, 1989 9:46 PM
John, This is Dave *not* Ben. What's wrong with make? Try "make directory:file" for example. And if you get that to work, then try "make directory:file.o", and if you figure out how to get that to work, finally have make follow dependancy rules that work across different directories. Manx's make…
From: David Hamkins AmigaTech Forum · C Programming July 24, 1989 6:21 AM
Ben, The fact of the matter is this. I have yet, in all my work, run into exactly one bug with Manx. With Lattice I've found half a dozen. If I *wanted* to find more bugs in Lattice, I could. Just pick any feature that was recently introduced and start…
#58462 C coding style Message #58532
From: David Hamkins AmigaTech Forum · C Programming July 23, 1989 10:10 PM
From: David Hamkins AmigaTech Forum · C Programming July 23, 1989 10:08 PM

Page 1 of 3