Download

Different compile error by platform

I dont’ know why different project build result.

example.

[Test.h]

// UCustomClass is define another file.
void SomeFunction( UCustomClass* test);

[Test.cpp]
#include “UCustomClass.h”
void SomeFunction( UCustomClass* test)
{
// do something…
}

Actually it is correct. => void SomeFunction( class UCustomClass* test);
But Visual studio build success windows. and build fail at Mac platform.

I want to catch compile error when build in windows.
How to edit C++ project property??