小编Ass*_*siN的帖子

未知的覆盖说明符 + 缺少类型说明符

我使用的是 Visual Studio 2015 Update 2。我有两个标头,分别称为 Error.h 和 Game.h。

错误.h:

#ifndef _Error_H
#define _Error_H

#include "Main.h"
#include "Core.h"
#include <Log.h>
#include <CWindows.h>

// ErrorIDs
enum
{
    ErrUnknownID = 0,
    blah,
    blah2,
    blah3
};

struct ErrInfo
{
    unsigned int  eiID;
    String        strCaption; // String is another class which implemented from std::string which works fine!
    String        strText;
    bool          bFixable = false;
};

// Static errors
extern ErrInfo WinNotSupported;
// blah blah

class Error
{

public:
    void Initialize();
    bool ShowError(ErrInfo ErrorInfo);
    BOOL FixError(unsigned …
Run Code Online (Sandbox Code Playgroud)

c++ visual-studio visual-studio-2015

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

c++ ×1

visual-studio ×1

visual-studio-2015 ×1