home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 13978 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  2.4 KB

  1. Path: sparky!uunet!mcsun!uknet!network-analysis-ltd.co.uk!sw
  2. From: sw@network-analysis-ltd.co.uk (Sak Wathanasin)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: IYourObject, Views, & ViewEdit
  5. Message-ID: <D2150050.b2f0fo@nan.network-analysis-ltd.co.uk>
  6. Date: 14 Aug 92 09:31:43 GMT
  7. Reply-To: sw@network-analysis-ltd.co.uk
  8. Organization: Network Analysis Ltd
  9. Lines: 58
  10. X-Mailer: uAccess - Macintosh Release: 1.6v1
  11.  
  12.  
  13. In article <1992Aug12.231336.1049@reed.edu> (comp.sys.mac.programmer), bowman@reed.edu (Eric Bowman (bobo)) writes:
  14.  
  15. > On an unrelated note, my code and sample code no longer handles "<<<>>>"
  16. > correctly for window titles -> "Untitled 1", etc.  This worked fine under
  17. > ETO 7, but doesn't work with ETO 8.
  18.  
  19. Have you recompiled your MacApp.Lib? There's a report in the MacApp3Tech$
  20. mailing list that C++ 3.2 isn't handling "inline"s correctly:
  21.  
  22. | ------------------------------
  23. | Date: 10 Aug 92 04:32 GMT
  24. | From: V0645@AppleLink.Apple.com (Tandem, Gary Campbell,AM)
  25. | Subject: Error w CFront 3.2 & MA 3.0.1
  26. | Hi,
  27. |  
  28. | I'm using the MacApp 3.0.1 and CFront 3.2 from ETO#8 and
  29. | MacApp 3.0.1 does not properly compile with CFront 3.2.
  30. |  
  31. | I don't use the pre-compiled MacApp libraries because I need -NoNeedsSystem7
  32. | and -TwoOhTemplateViews thus I needed to build my own libraries.
  33. |  
  34. | My window titles look like "DocumentName>>> Title" instead of "DocumentName
  35. | Title".
  36. | This is because the method ParseTitleTemplate from UMacAppGlobals.cp has a
  37. | incorrectly inline CString::Delete function call.
  38. |  
  39. | The inline function CString::Delete is inlined with a temporary NULL variable
  40. | instead of the const variable kPreSize that was supposed to be passed to
  41. | Delete's
  42. | parameter 'length'.
  43. |  
  44. | This inline problem may happen in other methods that I haven't found yet?
  45. |  
  46. | I have turned off inline-ing for CString::Delete as my workaround.
  47. |  
  48. | My question is:
  49. |  
  50. |    Are there other methods that aren't inline properly in MacApp 3.0.1?
  51. |    Were the pre-built MacApp libraries built with this version of CFront or
  52. |    do they too have this problem?
  53. |    Is there a better CFront?
  54. |  
  55. | cheers,
  56. | Gary Campbell
  57. | Tandem Computers
  58. | V0645
  59.  .... [Details, disassembly of code omitted]
  60.  
  61.  
  62. Sak Wathanasin
  63. Network Analysis Limited
  64. 178 Wainbody Ave South, Coventry CV3 6BX, UK
  65.  
  66. uucp:      ...!uknet!nan!sw  Phone: (+44) 203 419996
  67. AppleLink: NAN.LTD           Internet: sw@network-analysis-ltd.co.uk
  68.