Skip to content

Commit

Permalink
Remove #pragma comment directives
Browse files Browse the repository at this point in the history
Windows binaries are generated by CMake and MXE, thus `#pragma comment`
directives are no longer necessary and only lead to compiler warnings.
  • Loading branch information
ooxi committed Dec 9, 2016
1 parent d682711 commit 3a1748c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Legend
Upcoming release
----------------

* `[!]` [Removed `#pragma comment` compiler warnings](https://github.com/ooxi/violetland/pull/135)
* `[*]` [Violet will speed up slower](https://github.com/ooxi/violetland/pull/120)
* `[*]` [Use standard libintl detection module](https://github.com/ooxi/violetland/pull/134)
* `[+]` [Local preview of GitHub flavoured Markdown](https://github.com/ooxi/violetland/pull/127)
Expand Down
7 changes: 0 additions & 7 deletions src/program.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
// MS Windows compatibility
#ifdef _WIN32
#pragma comment(lib, "SDL")
#pragma comment(lib, "SDLmain")
#pragma comment(lib, "SDL_image")
#pragma comment(lib, "SDL_ttf")
#pragma comment(lib, "SDL_mixer")
#pragma comment(lib, "opengl32")
#pragma comment(lib, "libintl")
#define _USE_MATH_DEFINES
#include <windows.h>
#include <winbase.h>
Expand Down

0 comments on commit 3a1748c

Please sign in to comment.