Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1241)

Unified Diff: src/liboslexec/exec.cpp

Issue 193063: Error for bad connection type rather than assertion. (Closed) Base URL: http://openshadinglanguage.googlecode.com/svn/trunk/
Patch Set: Created 14 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/liboslexec/exec.cpp
===================================================================
--- src/liboslexec/exec.cpp (revision 541)
+++ src/liboslexec/exec.cpp (working copy)
@@ -460,7 +460,11 @@
} else {
// More complex case -- casting is involved, or only a
// partial copy (such as just cone component).
- ASSERT (0 && "Partial copies not yet supported"); // FIXME
+ error ("Unimplemented connection type: %s %s -> %s %s\n"
+ "\tPartial copies not yet supported.",
+ srcsym.typespec().c_str(), srcsym.name().c_str(),
+ dstsym.typespec().c_str(), dstsym.name().c_str());
+ return;
}
dstsym.connected (true);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b