Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the messages given for uninitialized variable reads
- Loading branch information
Showing
5 changed files
with
15 additions
and
12 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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Compiled test.osl -> test.oso | ||
ERROR: Detected possible use of uninitialized value in i_uninit at test.osl:10 (group <unnamed group>, layer 0 , op 0 'assign') | ||
ERROR: Detected possible use of uninitialized value in int i_uninit at test.osl:10 (group <unnamed group>, layer 0 , shader test, op 0 'assign', arg 1) | ||
|
||
Output Cout to Cout.tif | ||
ERROR: Detected possible use of uninitialized value in f_uninit at test.osl:10 (group <unnamed group>, layer 0 , op 1 'color') | ||
ERROR: Detected possible use of uninitialized value in s_uninit at test.osl:11 (group <unnamed group>, layer 0 , op 2 'texture') | ||
ERROR: Detected possible use of uninitialized value in float f_uninit at test.osl:10 (group <unnamed group>, layer 0 , shader test, op 1 'color', arg 1) | ||
ERROR: Detected possible use of uninitialized value in string s_uninit at test.osl:11 (group <unnamed group>, layer 0 , shader test, op 2 'texture', arg 1) | ||
ERROR: [RendererServices::texture] ImageInput::create() called with no filename |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Compiled test.osl -> test.oso | ||
ERROR: Detected possible use of uninitialized value in i_uninit at test.osl:10 (group <unnamed group>, layer 0 , op 3 'assign') | ||
ERROR: Detected possible use of uninitialized value in int i_uninit at test.osl:10 (group <unnamed group>, layer 0 , shader test, op 3 'assign', arg 1) | ||
|
||
Output Cout to Cout.tif | ||
ERROR: Detected possible use of uninitialized value in f_uninit at test.osl:10 (group <unnamed group>, layer 0 , op 4 'color') | ||
ERROR: Detected possible use of uninitialized value in s_uninit at test.osl:11 (group <unnamed group>, layer 0 , op 5 'texture') | ||
ERROR: Detected possible use of uninitialized value in float f_uninit at test.osl:10 (group <unnamed group>, layer 0 , shader test, op 4 'color', arg 1) | ||
ERROR: Detected possible use of uninitialized value in string s_uninit at test.osl:11 (group <unnamed group>, layer 0 , shader test, op 5 'texture', arg 1) | ||
ERROR: [RendererServices::texture] ImageInput::create() called with no filename |