Commit 33dee36dc5925bb0395fa794422a3e963519acde

Authored by Perry Werneck
1 parent e35715ca
Exists in master and in 1 other branch develop

Building with MSVC

client/src/session/remote/windows/session.cc
... ... @@ -50,7 +50,7 @@
50 50  
51 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 55 if(!ptr)
56 56 throw std::system_error(EINVAL, std::system_category());
... ...
win/Makefile.msc
... ... @@ -63,13 +63,13 @@ OBJ_FILES= \
63 63 client\src\session\remote\tools.obj \
64 64 client\src\session\remote\wait.obj \
65 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 68 .cc.obj:
70 69 @echo Compiling...
71 70 $(CPP) \
72 71 /c \
  72 + /DPACKAGE_NAME=\"pw3270\" \
73 73 /I"C:\msys64\project\pw3270\ipc\client\src\include" \
74 74 /I"c:\Program Files\pw3270\sdk\include" \
75 75 /EHsc \
... ... @@ -77,7 +77,9 @@ OBJ_FILES= \
77 77 $<
78 78  
79 79 ipc3270.dll: \
80   - $(OBJ_FILES)
  80 + $(OBJ_FILES) \
  81 + client\src\core\windows\dynamic\init.obj
81 82 link \
  83 + /DLL \
82 84 /OUT:"$@" \
83   - $(OBJ_FILES)
  85 + $<
... ...