ENH: add more junk for the dec cxx compiler to force it to instantiate stuff
This commit is contained in:
parent
61e87c3a6d
commit
42a34e4722
|
@ -471,10 +471,15 @@ int main()
|
|||
cmFailed("the LOAD_CACHE or CONFIGURE_FILE command is broken, "
|
||||
"CACHE_TEST_VAR_INTERNAL is not defined.");
|
||||
#else
|
||||
std::vector<std::string> v;
|
||||
std::vector<std::string> v2;
|
||||
v = v2;
|
||||
std::string cachetest = CACHE_TEST_VAR_INTERNAL;
|
||||
std::string copy = cachetest;
|
||||
cachetest.find("bar");
|
||||
cachetest.rfind("bar");
|
||||
copy.replace(0,0,0,'a');
|
||||
copy.append(cachetest);
|
||||
copy = cachetest.substr(0, cachetest.size());
|
||||
if(cachetest != "bar")
|
||||
{
|
||||
|
|
|
@ -471,10 +471,15 @@ int main()
|
|||
cmFailed("the LOAD_CACHE or CONFIGURE_FILE command is broken, "
|
||||
"CACHE_TEST_VAR_INTERNAL is not defined.");
|
||||
#else
|
||||
std::vector<std::string> v;
|
||||
std::vector<std::string> v2;
|
||||
v = v2;
|
||||
std::string cachetest = CACHE_TEST_VAR_INTERNAL;
|
||||
std::string copy = cachetest;
|
||||
cachetest.find("bar");
|
||||
cachetest.rfind("bar");
|
||||
copy.replace(0,0,0,'a');
|
||||
copy.append(cachetest);
|
||||
copy = cachetest.substr(0, cachetest.size());
|
||||
if(cachetest != "bar")
|
||||
{
|
||||
|
|
|
@ -471,10 +471,15 @@ int main()
|
|||
cmFailed("the LOAD_CACHE or CONFIGURE_FILE command is broken, "
|
||||
"CACHE_TEST_VAR_INTERNAL is not defined.");
|
||||
#else
|
||||
std::vector<std::string> v;
|
||||
std::vector<std::string> v2;
|
||||
v = v2;
|
||||
std::string cachetest = CACHE_TEST_VAR_INTERNAL;
|
||||
std::string copy = cachetest;
|
||||
cachetest.find("bar");
|
||||
cachetest.rfind("bar");
|
||||
copy.replace(0,0,0,'a');
|
||||
copy.append(cachetest);
|
||||
copy = cachetest.substr(0, cachetest.size());
|
||||
if(cachetest != "bar")
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue