Re: [Mesa-dev] Mixing C C++

2011-11-08 Thread Chad Versace
On 11/08/2011 12:30 PM, Jose Fonseca wrote: Second, it would really help to clearly distinguish headers that are meant to be used exclusive by C++ with a different suffix (e.g., .hpp). And leave .h for headers that are meant for joint C/C++ consuption. Take e.g., ../glsl/program.h, are

Re: [Mesa-dev] Mixing C C++

2011-11-08 Thread Paul Berry
On 8 November 2011 12:30, Jose Fonseca jfons...@vmware.com wrote: At the moment MSVC build's failing with the error mesa.lib(uniform_query.obj) : error LNK2001: unresolved external symbol int MESA_VERBOSE (?MESA_VERBOSE@@3HA) build\windows-x86-debug\gallium\targets\libgl-gdi\opengl32.dll :

Re: [Mesa-dev] Mixing C C++

2011-11-08 Thread Ian Romanick
On 11/08/2011 12:30 PM, Jose Fonseca wrote: At the moment MSVC build's failing with the error mesa.lib(uniform_query.obj) : error LNK2001: unresolved external symbol int MESA_VERBOSE (?MESA_VERBOSE@@3HA) build\windows-x86-debug\gallium\targets\libgl-gdi\opengl32.dll : fatal error LNK1120: 1

Re: [Mesa-dev] Mixing C C++

2011-11-08 Thread Jose Fonseca
- Original Message - On 11/08/2011 12:30 PM, Jose Fonseca wrote: At the moment MSVC build's failing with the error mesa.lib(uniform_query.obj) : error LNK2001: unresolved external symbol int MESA_VERBOSE (?MESA_VERBOSE@@3HA)

Re: [Mesa-dev] Mixing C C++

2011-11-08 Thread Kenneth Graunke
On 11/08/2011 12:30 PM, Jose Fonseca wrote: [snip] Second, it would really help to clearly distinguish headers that are meant to be used exclusive by C++ with a different suffix (e.g., .hpp). And leave .h for headers that are meant for joint C/C++ consuption. Take e.g., ../glsl/program.h,