Commit 33dee36dc5925bb0395fa794422a3e963519acde
1 parent
e35715ca
Exists in
master
and in
1 other branch
Building with MSVC
Showing
2 changed files
with
7 additions
and
5 deletions
Show diff stats
client/src/session/remote/windows/session.cc
| @@ -50,7 +50,7 @@ | @@ -50,7 +50,7 @@ | ||
| 50 | 50 | ||
| 51 | IPC::Session::Session(const char *id) : Abstract::Session() { | 51 | IPC::Session::Session(const char *id) : Abstract::Session() { |
| 52 | 52 | ||
| 53 | - char *ptr = strchr(id,':'); | 53 | + const char *ptr = strchr(id,':'); |
| 54 | 54 | ||
| 55 | if(!ptr) | 55 | if(!ptr) |
| 56 | throw std::system_error(EINVAL, std::system_category()); | 56 | throw std::system_error(EINVAL, std::system_category()); |
win/Makefile.msc
| @@ -63,13 +63,13 @@ OBJ_FILES= \ | @@ -63,13 +63,13 @@ OBJ_FILES= \ | ||
| 63 | client\src\session\remote\tools.obj \ | 63 | client\src\session\remote\tools.obj \ |
| 64 | client\src\session\remote\wait.obj \ | 64 | client\src\session\remote\wait.obj \ |
| 65 | client\src\session\remote\windows\request.obj \ | 65 | client\src\session\remote\windows\request.obj \ |
| 66 | - client\src\session\remote\windows\session.obj \ | ||
| 67 | - client\src\testprogram\testprogram.obj | 66 | + client\src\session\remote\windows\session.obj |
| 68 | 67 | ||
| 69 | .cc.obj: | 68 | .cc.obj: |
| 70 | @echo Compiling... | 69 | @echo Compiling... |
| 71 | $(CPP) \ | 70 | $(CPP) \ |
| 72 | /c \ | 71 | /c \ |
| 72 | + /DPACKAGE_NAME=\"pw3270\" \ | ||
| 73 | /I"C:\msys64\project\pw3270\ipc\client\src\include" \ | 73 | /I"C:\msys64\project\pw3270\ipc\client\src\include" \ |
| 74 | /I"c:\Program Files\pw3270\sdk\include" \ | 74 | /I"c:\Program Files\pw3270\sdk\include" \ |
| 75 | /EHsc \ | 75 | /EHsc \ |
| @@ -77,7 +77,9 @@ OBJ_FILES= \ | @@ -77,7 +77,9 @@ OBJ_FILES= \ | ||
| 77 | $< | 77 | $< |
| 78 | 78 | ||
| 79 | ipc3270.dll: \ | 79 | ipc3270.dll: \ |
| 80 | - $(OBJ_FILES) | 80 | + $(OBJ_FILES) \ |
| 81 | + client\src\core\windows\dynamic\init.obj | ||
| 81 | link \ | 82 | link \ |
| 83 | + /DLL \ | ||
| 82 | /OUT:"$@" \ | 84 | /OUT:"$@" \ |
| 83 | - $(OBJ_FILES) | 85 | + $< |