AcademySoftwareFoundation / OpenShadingLanguage

Advanced shading language for production GI renderers
BSD 3-Clause "New" or "Revised" License
2.11k stars 361 forks source link

Visual Studio 2012 compilation #245

Closed Shadowrom closed 11 years ago

Shadowrom commented 11 years ago

Hi, I tried to compile OSL with VC 2012 using the fixes Larry provided for the VC 2010 compilation. And found out that VC 2012 defines __cplusplus as 199711L So we have a nice mix of C++98 and C++11.

I got a whole bunch of errors related to std::shared_ptr and co.

Shadowrom commented 11 years ago

Added a pull request for this.