You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build a DEBUGGING version of pbrt-v3 in GNU/Linux (g++ 5.3, but tried older versions).
I obtain errors regarding the 'struct { EndpointInteraction ei; MediumInteraction mi; SurfaceInteraction si; };' in bdpt.h, since members with constructors and copy assigment operators are not allowed in anonymous structs in C++
Release mode is Ok since a union is used instead of the struct.
The text was updated successfully, but these errors were encountered:
This seems to be what we need to make compilers happy with non-POD types in the anonymous union. (Tested on a range of compilers that previously failed with this.)
Issues #8, #52, #5.
This seems to be what we need to make compilers happy with non-POD types in the anonymous union. (Tested on a range of compilers that previously failed with this.)
Issues mmp#8, mmp#52, mmp#5.
Hi!
I'm trying to build a DEBUGGING version of pbrt-v3 in GNU/Linux (g++ 5.3, but tried older versions).
I obtain errors regarding the 'struct { EndpointInteraction ei; MediumInteraction mi; SurfaceInteraction si; };' in bdpt.h, since members with constructors and copy assigment operators are not allowed in anonymous structs in C++
Release mode is Ok since a union is used instead of the struct.
The text was updated successfully, but these errors were encountered: