Louis.Pecora@f421.n109.z1.fidonet.org (Louis Pecora) (02/22/91)
To any MPW C++ users: I may have found a problem with the MPW C compiler when CFront passes it code with lots of inline funtions. On some Macs you may get a bomb (caught by Macsbug, but not always escapable to shell-- "es" may not work). This happens on my Mac II, but not on my MacPlus (despite the hardware differences, both machines are configured nearly the same - same inits, 4 and 5 MB memory, 40 and 80 MB HD, etc. ). When I turn on the -z0 option for CPlus which forces inlines to be NONinline I have no problem. The problem only occurs when the number of inlines gets big (30 or so), with no particular number of inlines as the problem point. Adding and subtracting inlines doesn't matter (no particular inline causes the problem). It appears that just the totality of "space" required by the inlines causes the problem . Changing some compiler options doesn't help (eliminating the -mc68020 -mc68881 on the MacII, using the -m option, etc.) Has anyone else noticed this problem? Is there some fix? I looked at the MPW C++ manual in the complex number library section for some hints since this library has lots of inlines and saw nothing. I haven't tried to use the Mac complex library , although it does have fewer inlines than my code and might not bomb. Any ideas are appreciated. If none are forthcoming, I will probably write a bug report to Apple. --- Lou Pecora -- Louis Pecora, Louis.Pecora@f421.n109.z1.fidonet.org via The Black Cat's Shack's FidoNet<->Usenet Gateway blkcat.fidonet.org and Fidonet 1:109/401