Quote:
Originally Posted by FeuerSturm
i'm getting this when I try to compile it on linux with ENGINE=orangeboxvalve
Code:
sample_mm.cpp:43: error: braces around scalar initializer for type 'const char*'
any ideas?
I didn't change anything on any of the files.
|
replace in the sample_mm.cpp, this
Code:
const char *g_szAllowedPaths[] =
{
{"downloads"},
{"maps"},
{"materials"},
{"particles"},
{"models"},
{"sound"},
{NULL},
};
with this
Code:
const char *g_szAllowedPaths[] =
{
"downloads",
"maps",
"materials",
"particles",
"models",
"sound",
NULL,
};
__________________