Re: [Mesa-dev] c99 vs v90

2016-08-04 Thread Jose Fonseca
On 04/08/16 11:25, Enrico Weigelt, metux IT consult wrote: On 04.08.2016 11:38, Jose Fonseca wrote: __FUNCTION__ has been around for a very long time (before 1999), so it's no surprise that MSVC has it. But not implementing __func__ does seem a oversight. I believe they fixed it on MSVC 2015.

Re: [Mesa-dev] c99 vs v90

2016-08-04 Thread Enrico Weigelt, metux IT consult
On 04.08.2016 11:38, Jose Fonseca wrote: > __FUNCTION__ has been around for a very long time (before 1999), so it's > no surprise that MSVC has it. But not implementing __func__ does seem a > oversight. I believe they fixed it on MSVC 2015. hmm, okay. as long as we're supporting msvc'03, I'd su

Re: [Mesa-dev] c99 vs v90

2016-08-04 Thread Jose Fonseca
On 04/08/16 01:48, Enrico Weigelt, metux IT consult wrote: On 03.08.2016 23:28, Jose Fonseca wrote: Hi, There are minor inconsistencies. For example, it doesn't support __func__, but doing #define __func__ __FUNCTION__ suffices to make __func__ work compatible. Wait a second ... IIRC,

Re: [Mesa-dev] c99 vs v90

2016-08-03 Thread Enrico Weigelt, metux IT consult
On 03.08.2016 23:28, Jose Fonseca wrote: Hi, > There are minor inconsistencies. For example, it doesn't support > __func__, but doing > > #define __func__ __FUNCTION__ > > suffices to make __func__ work compatible. Wait a second ... IIRC, __FUNCTION__ was a non-standard gcc'ism - now msvc

Re: [Mesa-dev] c99 vs v90

2016-08-03 Thread Jose Fonseca
On 03/08/16 09:43, Enrico Weigelt, metux IT consult wrote: On 03.08.2016 09:47, Timothy Arceri wrote: The current requirement for Mesa is MSVC 2013 so any compat workarounds for functionality supported by that version can be dropped. A bunch of stuff has been dropped already but feel free to f

Re: [Mesa-dev] c99 vs v90

2016-08-03 Thread Enrico Weigelt, metux IT consult
On 03.08.2016 09:47, Timothy Arceri wrote: > The current requirement for Mesa is MSVC 2013 so any compat workarounds > for functionality supported by that version can be dropped. > > A bunch of stuff has been dropped already but feel free to find any > remaining code. hmm, I dont have any msvc

Re: [Mesa-dev] c99 vs v90

2016-08-03 Thread Timothy Arceri
On Wed, 2016-08-03 at 08:27 +0200, Enrico Weigelt, metux IT consult wrote: > Hi folks, > > > do we still need to support pre-c99 compilers or could we drop > that compat stuff ? The problem we have had is Microsoft Visual C doesn't fully support c99 although Microsoft has finally been adding sup

[Mesa-dev] c99 vs v90

2016-08-02 Thread Enrico Weigelt, metux IT consult
Hi folks, do we still need to support pre-c99 compilers or could we drop that compat stuff ? --mtx ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev