Re: Blender: New error with min/max function not in scope

2016-02-16 Thread Richard Shaw
On Tue, Feb 16, 2016 at 10:45 AM, Jonathan Wakely wrote: > On 16/02/16 16:31 +, Jonathan Wakely wrote: > >> On 16/02/16 10:13 -0600, Richard Shaw wrote: >> >>> This seems like a pretty basic error in something that has worked fine >>> for >>> a very long time. Is there anything in the GCC 6 u

Re: Blender: New error with min/max function not in scope

2016-02-16 Thread Jonathan Wakely
On 16/02/16 16:31 +, Jonathan Wakely wrote: On 16/02/16 10:13 -0600, Richard Shaw wrote: This seems like a pretty basic error in something that has worked fine for a very long time. Is there anything in the GCC 6 update that would cause this? This no longer compiles with GCC 6: #define ma

Re: Blender: New error with min/max function not in scope

2016-02-16 Thread Jonathan Wakely
On 16/02/16 10:13 -0600, Richard Shaw wrote: This seems like a pretty basic error in something that has worked fine for a very long time. Is there anything in the GCC 6 update that would cause this? This no longer compiles with GCC 6: #define max(a, b) (a > b ? a : b) #include int i = max(0,1