SCons: Re-enable treating #warning as error with werror
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
This commit is contained in:
parent
4e4e16f9a9
commit
8017827144
24 changed files with 32 additions and 106 deletions
|
|
@ -2590,10 +2590,7 @@ Error GLTFDocument::_parse_meshes(Ref<GLTFState> state) {
|
|||
Mesh::PRIMITIVE_TRIANGLES, // 4 TRIANGLES
|
||||
Mesh::PRIMITIVE_TRIANGLE_STRIP, // 5 TRIANGLE_STRIP
|
||||
Mesh::PRIMITIVE_TRIANGLES, // 6 TRIANGLE_FAN fan not supported, should be converted
|
||||
#ifndef _MSC_VER
|
||||
#warning line loop and triangle fan are not supported and need to be converted to lines and triangles
|
||||
#endif
|
||||
|
||||
// TODO: Line loop and triangle fan are not supported and need to be converted to lines and triangles.
|
||||
};
|
||||
|
||||
primitive = primitives2[mode];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue