kernelhcy/gtkqq — Issue #20: Syntax error @ src/gui/gqqconfig.c
Author: cuihaoleo
Created: 2011-12-11 10:07:11+00:00
State: open

```
gqqconfig.c: 在函数‘gqq_config_init’中:
gqqconfig.c:245:42: 错误：expected ‘)’ before ‘{’ token
gqqconfig.c:250:5: 错误：expected expression before ‘GString’
gqqconfig.c:253:22: 错误：‘facedir’未声明(在此函数内第一次使用)
gqqconfig.c:253:22: 附注：每个未声明的标识符在其出现的函数内只报告一次
make[4]: *** [gqqconfig.o] 错误 1
```

```c
if(!g_file_test(cfgdir->str, G_FILE_TEST_EXISTS
&& -1 == g_mkdir(cfgdir->str, 0777)){ # a ")" is left out
g_error("Create config dir %s error!(%s, %d)"
, cfgdir->str, __FILE__, __LINE__);
})
```