Don't issue a slew of warnings if a bogus cpu type is specified.

Issue #221.
This commit is contained in:
Matt Pharr
2012-04-03 06:13:28 -07:00
parent eb85da81e1
commit b813452d33
3 changed files with 39 additions and 16 deletions

2
ispc.h
View File

@@ -164,7 +164,7 @@ struct Target {
/** Returns a comma-delimited string giving the names of the currently
supported target CPUs. */
static const char *SupportedTargetCPUs();
static std::string SupportedTargetCPUs();
/** Returns a comma-delimited string giving the names of the currently
supported target architectures. */