Ah, ok.  It's a simple matter to rename this variable.  I'll submit a pull 
request.



On Aug 13, 2013, at 2:54 PM, Pete Black wrote:

> Hi all,
> 
> This is a gcc thing. You could probably call it a compiler bug, but 
> apparently it has been like this for a long time.
> 
> I believe 'i386' is defined on x86, 'mips' is defined on mips (this build 
> error popped up in OGRE too, as they used the variable name 'mips' for 
> mipmapping stuff.)
> 
> I think using the compiler flag to force ANSI compliance for GCC would 
> eliminate the error, but its probably easier just not to use the variable 
> name 'mips' 
> 
> -Pete
> 
> On 14/08/2013, at 9:50 AM, Larry Gritz <[email protected]> wrote:
> 
>> Weird!  What's going on there?  Is 'mips' a defined symbol or something?  I 
>> can't imagine why that would be a syntax error.
>> 
>> Can you try something for me?  In src/oiiotool/imagerec.cpp, lines 74-77, 
>> there are 4 references to the variable 'mips'.  If you change that to 
>> another name, say 'nmips', does it compile cleanly?
>> 
>> Let me know if you are truly unable to test this on your end without my 
>> doing a checkin and tag. I suppose I can do that, but I'd rather not cut a 
>> release without knowing for sure if it will work.
>> 
>>      -- lg
>> 
>> 
>> On Aug 13, 2013, at 2:15 AM, Matteo F. Vescovi wrote:
>> 
>>> Hi Larry!
>>> 
>>> On Tue, Aug 06, 2013 at 11:21:00AM -0700, Larry Gritz wrote:
>>>> I have tagged Release-1.2.1.
>>>> This is now the recommended stable production release.
>>> 
>>> 1.2.1 is failing on mipsel (probably on mips as well):
>>> 
>>> https://buildd.debian.org/status/fetch.php?pkg=openimageio&arch=mipsel&ver=1.2.1~dfsg0-2&stamp=1376304813
>>> 
>>> Any chance to fix it?
>>> 
>>> Thanks in advance.
>>> Cheers.
>>> 
>>> -- 
>>> Matteo F. Vescovi
>>> Debian Maintainer
>>> GnuPG KeyID: 0x83B2CF7A
>> 
>> --
>> Larry Gritz
>> [email protected]
>> 
>> 
>> _______________________________________________
>> Oiio-dev mailing list
>> [email protected]
>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
> 
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to