Re: Incorrect processor define on Apple M1

Duncan Grisby via omniORB-list <[email protected]> Sun, 16 Apr 2023 15:41:33 +0100
Newsgroups gmane.comp.corba.omniorb.user
Message-ID <[email protected]>
On Sat, 2023-04-15 at 16:40 +0200, Thomas Braun via omniORB-list wrote:

[...]
> > Or is it that the definition of __arm__ somehow breaks some other
> > code
> > that is not in omniORB?
> 
> Yes this is the problem. PROCESSOR_DEFINE is used in 
> contrib/pkgconfig/omnithread.pc.in and include/omniconfig.h.in.

That makes sense.

The processor and platform defines are a legacy thing from long ago
where some of the target platforms did not define them automatically. I
think all the current platforms omniORB is used on probably do set the
necessary defines.

I have changed things in svn so that

   1. the .pc files no longer set them.
   2. omniconfig.h only sets processor and platform defines if nothing
      is already set.

That should resolve this situation. Can you try it please?

Duncan.

-- 
-- Duncan Grisby -- -- [email protected] -- -- http://www.grisby.org --