|
Re: Fix errors and warnings from g++-4.4.1 (issue193074)
I too recieved an error from strcmp in oslex.l/cpp when building with visual studio.
Visual studio has not deprecated hash_map from what i can tell, but a boost solution would work there as well.
Does
I too recieved an error from strcmp in oslex.l/cpp when building with visual studio.
Visual studio has not deprecated hash_map from what i can tell, but a boost solution would work there as well.
Does
|
By
Wormszer <worm...@...>
·
#149
·
|
|
Re: Fix errors and warnings from g++-4.4.1 (issue193074)
Actually my error was strchr returning a char* instead of a const char*. osolex.l line# 260
Actually my error was strchr returning a char* instead of a const char*. osolex.l line# 260
|
By
Wormszer <worm...@...>
·
#150
·
|
|
Re: Fix errors and warnings from g++-4.4.1 (issue193074)
Yeah, I believe that's fixed in the patch.
From what I can tell, the latest visual studio has a native
unordered_map implementation, but my preference for boost is just
because it's consistent across
Yeah, I believe that's fixed in the patch.
From what I can tell, the latest visual studio has a native
unordered_map implementation, but my preference for boost is just
because it's consistent across
|
By
Chris Foster <chri...@...>
·
#151
·
|
|
Re: Compiling OpenShadingLanguage under Windows
I have been getting things ready for a patch, but now I am stuck on the testsuite.
There seems to be some issues with python and the os.system command not liking spaces in file names.
So a newer
I have been getting things ready for a patch, but now I am stuck on the testsuite.
There seems to be some issues with python and the os.system command not liking spaces in file names.
So a newer
|
By
Wormszer <worm...@...>
·
#152
·
|
|
Review: string routine drives me crazy (issue194067)
Reviewers: ,
Description:
Many times I've been plagued by inexplicable crashes in loadshader.cpp,
right at the call to boost::starts_with. I've wasted hours and hours
and been unable to figure out
Reviewers: ,
Description:
Many times I've been plagued by inexplicable crashes in loadshader.cpp,
right at the call to boost::starts_with. I've wasted hours and hours
and been unable to figure out
|
By
larry...@...
·
#158
·
|
|
Re: Review: string routine drives me crazy (issue194067)
On 2010/01/25 23:34:09, larrygritz wrote:
LGTM, but this is quite mysterious. Were the crashes on OS X or linux?
http://codereview.appspot.com/194067/show
On 2010/01/25 23:34:09, larrygritz wrote:
LGTM, but this is quite mysterious. Were the crashes on OS X or linux?
http://codereview.appspot.com/194067/show
|
By
cku...@...
·
#159
·
|
|
Re: Review: string routine drives me crazy (issue194067)
Hi Larry -
Just to be robust, would it make sense to make sure that source is at
least as long as pattern? Also, is this the correct way to respond to
a code review (in email)?
Brian
Hi Larry -
Just to be robust, would it make sense to make sure that source is at
least as long as pattern? Also, is this the correct way to respond to
a code review (in email)?
Brian
|
By
Brian Budge <brian...@...>
·
#153
·
|
|
Re: Review: string routine drives me crazy (issue194067)
Either email or by going to the link below and commenting using the review tool. Frankly, I prefer email except if you need to use the ability to comment on particular lines in context. Though I can
Either email or by going to the link below and commenting using the review tool. Frankly, I prefer email except if you need to use the ability to comment on particular lines in context. Though I can
|
By
Larry Gritz <l...@...>
·
#154
·
|
|
Re: Review: string routine drives me crazy (issue194067)
Wow, what do you know, apparently if you reply via email and don't change any of the CC's or subject line, the email correspondence DOES get appended to the review trail in the codereview tool! So
Wow, what do you know, apparently if you reply via email and don't change any of the CC's or subject line, the email correspondence DOES get appended to the review trail in the codereview tool! So
|
By
Larry Gritz <l...@...>
·
#155
·
|
|
Re: Review: string routine drives me crazy (issue194067)
Nice. You're correct, there's no robustness issue, I just had a brain-blip.
Nice. You're correct, there's no robustness issue, I just had a brain-blip.
|
By
Brian Budge <brian...@...>
·
#156
·
|
|
Re: Review: string routine drives me crazy (issue194067)
OS X. I haven't seen it on Linux, but I'm not sure that means much.
It's black magic to be sure, but I just can't justify spending any more time tracking down this red herring when I have legit bugs
OS X. I haven't seen it on Linux, but I'm not sure that means much.
It's black magic to be sure, but I just can't justify spending any more time tracking down this red herring when I have legit bugs
|
By
Larry Gritz <l...@...>
·
#157
·
|
|
Review: bug fix with shaders that have no 'main' instructions (issue193098)
Reviewers: ,
Description:
It's possible to write a shader that has no instructions in the main
program, but merely shuffles input params into output params (this is in
fact done for certain "glue
Reviewers: ,
Description:
It's possible to write a shader that has no instructions in the main
program, but merely shuffles input params into output params (this is in
fact done for certain "glue
|
By
larry...@...
·
#160
·
|
|
Re: Review: bug fix with shaders that have no 'main' instructions (issue193098)
LGTM
http://codereview.appspot.com/193098/show
LGTM
http://codereview.appspot.com/193098/show
|
By
cku...@...
·
#161
·
|
|
Review: bind refactor (issue195042)
Reviewers: ,
Description:
1. Refactor "bind" to simplify the handling of globals.
2. Bug fix (exec.cpp:309) -- zero out local strings, the one place where
uninitialized values in the heap can crash
Reviewers: ,
Description:
1. Refactor "bind" to simplify the handling of globals.
2. Bug fix (exec.cpp:309) -- zero out local strings, the one place where
uninitialized values in the heap can crash
|
By
larry...@...
·
#162
·
|
|
Re: Review: bind refactor (issue195042)
LGTM - just a few small notes
http://codereview.appspot.com/195042/diff/1/5
File src/liboslexec/exec.cpp
LGTM - just a few small notes
http://codereview.appspot.com/195042/diff/1/5
File src/liboslexec/exec.cpp
|
By
cku...@...
·
#163
·
|
|
Re: Review: bind refactor (issue195042)
http://codereview.appspot.com/195042/diff/1/5
File src/liboslexec/exec.cpp (right):
http://codereview.appspot.com/195042/diff/1/5#newcode191
src/liboslexec/exec.cpp:191: VaryingRef<float> * valref =
http://codereview.appspot.com/195042/diff/1/5
File src/liboslexec/exec.cpp (right):
http://codereview.appspot.com/195042/diff/1/5#newcode191
src/liboslexec/exec.cpp:191: VaryingRef<float> * valref =
|
By
larry...@...
·
#164
·
|
|
Re: Compiling OpenShadingLanguage under Windows
I have made some modifications to runtest.py to allow for the tests to be run on windows along with some changes to the cmake files.
I have redone the everything from scratch and have made changes to
I have made some modifications to runtest.py to allow for the tests to be run on windows along with some changes to the cmake files.
I have redone the everything from scratch and have made changes to
|
By
Wormszer <worm...@...>
·
#165
·
|
|
Re: Compiling OpenShadingLanguage under Windows
I just checked one failed test file output and the error was
ref:
-5.96046e-08
out:
-5.96046e-008
I wonder if this is due to different default precision on cout possibly? That was the only error so
I just checked one failed test file output and the error was
ref:
-5.96046e-08
out:
-5.96046e-008
I wonder if this is due to different default precision on cout possibly? That was the only error so
|
By
Wormszer <worm...@...>
·
#166
·
|
|
Re: Compiling OpenShadingLanguage under Windows
Hi Jeremy,
I was trying to use the boost.wave preprocessor, but still have some
troubles to integrate it. I was not able to run any tests so far.
However, I'm still trying :-) Maybe it would be
Hi Jeremy,
I was trying to use the boost.wave preprocessor, but still have some
troubles to integrate it. I was not able to run any tests so far.
However, I'm still trying :-) Maybe it would be
|
By
Oleg <ode...@...>
·
#167
·
|
|
Review: smarter runflags for lazy eval (issue194117)
Reviewers: ,
Description:
If you called context->execute() with a "sparse" set of runflags (such
as if you were picking the subset of a set of rays that hit objects with
the same shaders), it would
Reviewers: ,
Description:
If you called context->execute() with a "sparse" set of runflags (such
as if you were picking the subset of a set of rays that hit objects with
the same shaders), it would
|
By
larry...@...
·
#169
·
|