错误:unistd.h 文件中字符串常量 extern "C" 之前的预期未限定 id

问题描述

我正在编译 charm++ 分子建模程序,但我看到一个指向 unistd.h 文件错误,如下所示:

/*  DUMMY unistd.h for netlrts-win32 build */
/*
    for example:
    xi-scan.C which is automatically generated by flex needs this header
    file
*/

#ifdef __cplusplus
extern "C"{

}
#endif

  int isatty (int );

编译器是mingw的gcc。怎么了?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)