Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Raytracing] attempt to fix compilation on Arch linux
by adding all used STL headers - also uniform std handling (either using namespace and then omit or use it always and no namespace
- Loading branch information
Showing
3 changed files
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ | |
#ifdef _PreComp_ | ||
|
||
// STL | ||
#include <iosfwd> | ||
#include <sstream> | ||
#include <vector> | ||
|
||
|
c6c273e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternative that's working for me: https://stackoverflow.com/questions/50355130/variable-stdofstream-outfile-has-initializer-but-incomplete-type
c6c273e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately just this present commit doesn't work. I'll make a PR.
c6c273e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still not compiling for me either
c6c273e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made #7963.