You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2019/07/09 13:08:57 UTC

[plc4x] branch feature/s7-cpp updated: - Fixed some compilation issues (Some missing underscores)

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch feature/s7-cpp
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/feature/s7-cpp by this push:
     new 986f311  - Fixed some compilation issues (Some missing underscores)
986f311 is described below

commit 986f3111fd59065c54592acd509144e7080b3333
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Tue Jul 9 15:08:49 2019 +0200

    - Fixed some compilation issues (Some missing underscores)
---
 plc4cpp/drivers/s7/src/main/cpp/org/apache/plc4x/cpp/s7/dllexports.cpp | 2 +-
 plc4cpp/drivers/s7/src/main/cpp/org/apache/plc4x/cpp/s7/dllexports.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plc4cpp/drivers/s7/src/main/cpp/org/apache/plc4x/cpp/s7/dllexports.cpp b/plc4cpp/drivers/s7/src/main/cpp/org/apache/plc4x/cpp/s7/dllexports.cpp
index baac7e7..f878b52 100644
--- a/plc4cpp/drivers/s7/src/main/cpp/org/apache/plc4x/cpp/s7/dllexports.cpp
+++ b/plc4cpp/drivers/s7/src/main/cpp/org/apache/plc4x/cpp/s7/dllexports.cpp
@@ -31,7 +31,7 @@ int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
     return 1;
 }
 
-_declspec(dllexport) PlcDriver* _CreatePlcDriverInstance()
+__declspec(dllexport) PlcDriver* __CreatePlcDriverInstance()
 {
     return new S7PlcDriver;
 }
\ No newline at end of file
diff --git a/plc4cpp/drivers/s7/src/main/cpp/org/apache/plc4x/cpp/s7/dllexports.h b/plc4cpp/drivers/s7/src/main/cpp/org/apache/plc4x/cpp/s7/dllexports.h
index 91ece6d..f4e5ea1 100644
--- a/plc4cpp/drivers/s7/src/main/cpp/org/apache/plc4x/cpp/s7/dllexports.h
+++ b/plc4cpp/drivers/s7/src/main/cpp/org/apache/plc4x/cpp/s7/dllexports.h
@@ -29,7 +29,7 @@ under the License.
 #define IMPEXP __declspec(dllimport)
 #endif 	// __dll__*/
 
-extern "C" __declspec(dllexport) org::apache::plc4x::cpp::spi::PlcDriver* _CreatePlcDriverInstance();
+extern "C" __declspec(dllexport) org::apache::plc4x::cpp::spi::PlcDriver* __CreatePlcDriverInstance();
 
 
 #endif	// DLLEXPORTS_H
\ No newline at end of file