octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for MacOS 10.5 testers


From: Ben Abbott
Subject: Re: Looking for MacOS 10.5 testers
Date: Fri, 15 Jun 2012 10:52:26 -0400

On Jun 15, 2012, at 8:15 AM, Ben Abbott wrote:

> On Jun 15, 2012, at 12:15 AM, Alexander Hansen wrote:
> 
>> On 6/14/12 9:08 PM, Alexander Hansen wrote:
>>> On 6/14/12 3:04 PM, Ben Abbott wrote:
>>>> I've prepared at changeset which detects the presence of Carbon 
>>>> Framework's CGDispalyBitsPerPixel, and replaces it with a new function if 
>>>> absent.
>>>> 
>>>> I don't have a 10.5 box to test this on. If anyone else has a 10.5 box 
>>>> which they use to build the default branch, I'd appreciate testing this 
>>>> changeset.
>>>> 
>>>> Ben
>>> 
>>> I'm in the process of looking at this.  I typically don't install Octave
>>> by hand, so it's taking a while :-) .  Plus, I'm also building an update
>>> to gcc4.6 on the same single-processor G4 machine, so that's slowing
>>> things down a bit.
>> 
>> It didn't work here:
>> 
>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu
>> -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -I/sw/include
>> -I/sw/include -g -O2 -DHAVE_CONFIG_H -I/sw/include
>> -I/sw/include/freetype2 -I/sw/include -I/sw/include -Wall -W -Wshadow
>> -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
>> -Wcast-qual -g -O2 -D_THREAD_SAFE -pthread -g -O2 -MT
>> liboctinterp_la-display.lo -MD -MP -MF .deps/liboctinterp_la-display.Tpo
>> -c display.cc  -fno-common -DPIC -o .libs/liboctinterp_la-display.o
>> display.cc: In function 'size_t DisplayBitsPerPixel(CGDirectDisplayID)':
>> display.cc:49: error: 'CGDisplayModeRef' was not declared in this scope
>> display.cc:49: error: expected `;' before 'mode'
>> display.cc:50: error: 'mode' was not declared in this scope
>> display.cc:50: error: 'CGDisplayModeCopyPixelEncoding' was not declared
>> in this scope
>> display.cc:52: warning: use of old-style cast
>> display.cc:54: warning: use of old-style cast
>> display.cc: At global scope:
>> display.cc:47: warning: unused parameter 'display'
> 
> Thanks Alex,
> 
> I should have looked more closely at my results. I got the syntax wrong in 
> acinclude.m4.
> 
> I'll fix and try a fresh build. If all goes will I post another changeset in 
> a few hours.
> 
> Ben

A second attempt is attached.

Ben

Attachment: changeset.patch
Description: Binary data






reply via email to

[Prev in Thread] Current Thread [Next in Thread]