Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / July 2003



Tip: Looking for answers? Try searching our database.

CW8.3 (classic mode): problem using ppc shlib from 68k shlib

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Adam - 30 Jul 2003 15:32 GMT
I'm developing a 68k C++ shlib that needs to use a ppc C shlib.

When I include the ppc shlib, I use

extern "C" {
 #pragma options align=power
 #include "shlib_api.h"
 #pragma options align=reset
}

and I also use the same bookends when I declare my callbacks.
However, when I trace through the ppc shlib, I get assignment
"skipping", which would seem to indicate that my structs aren't
playing nicely.

Any ideas?

Adam Heinz
Development Consultant
Exstream Software, NA
Patrick Stadelmann - 30 Jul 2003 15:39 GMT
> I'm developing a 68k C++ shlib that needs to use a ppc C shlib.
>
[quoted text clipped - 12 lines]
>
> Any ideas?

I'm not sure, but I think #pragma only affects the current file.

Patrick
Signature

Patrick Stadelmann <Patrick.Stadelmann@unine.ch>

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.