Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ビルド時警告の削減 #48

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions HeaderMake/HeaderMake.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Expand Down
1 change: 1 addition & 0 deletions MakefileMake/MakefileMake.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Expand Down
1 change: 1 addition & 0 deletions sakura/sakura.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
<PostBuildEvent>
<Command>call postBuild.bat "$(TargetPath).manifest"</Command>
Expand Down
14 changes: 13 additions & 1 deletion sakura_core/apiwrap/StdApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,19 @@
#ifndef SAKURA_STDAPI_85471C2C_6AEE_410D_BD09_A59056A5BA68_H_
#define SAKURA_STDAPI_85471C2C_6AEE_410D_BD09_A59056A5BA68_H_

#include <ImageHlp.h> //MakeSureDirectoryPathExists

//�����^�C����񃉃C�u�����ɃA�N�Z�X����Windows�w�b�_���Q�Ƃ���
//c++�K�i�ւ̏������������Ȃ������߁AWindowsSDK������enum��typedef����R�[�h���{����B
#if defined(_MSC_VER) && _MSC_VER >= 1900
//�ꎞ�I�Ɍx���𖳌��ɂ��ăC���N���[�h����
#pragma warning(push)
#pragma warning(disable:4091)
#include <ImageHlp.h> //MakeSureDirectoryPathExists
#pragma warning(pop)
#else
#include <ImageHlp.h> //MakeSureDirectoryPathExists
#endif


//�f�o�b�O�p�B
//Vista����ExtTextOut�̌��ʂ������f����Ȃ��B���̊֐���p����Ƒ����f�����̂ŁA
Expand Down