From 0afc94d3cf23fc61eb5dee4a3f75fb70e9f3bd1b Mon Sep 17 00:00:00 2001 From: Remi Thebault Date: Fri, 26 Dec 2014 00:04:45 +0100 Subject: [PATCH 2/2] add another symbol --- qbsbug_app/main.cpp | 1 + qbsbug_dll/include/qb/qb.hpp | 1 + qbsbug_dll/qb.cpp | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/qbsbug_app/main.cpp b/qbsbug_app/main.cpp index 35a0478..0c9fcc8 100644 --- a/qbsbug_app/main.cpp +++ b/qbsbug_app/main.cpp @@ -4,6 +4,7 @@ int main() { qb::useSymbol(); + qb::useAnotherSymbol(); return 0; } diff --git a/qbsbug_dll/include/qb/qb.hpp b/qbsbug_dll/include/qb/qb.hpp index 8a4e4ba..191695d 100644 --- a/qbsbug_dll/include/qb/qb.hpp +++ b/qbsbug_dll/include/qb/qb.hpp @@ -11,5 +11,6 @@ namespace qb { QB_API void useSymbol(); + QB_API void useAnotherSymbol(); } diff --git a/qbsbug_dll/qb.cpp b/qbsbug_dll/qb.cpp index f30dd36..bddc2a4 100644 --- a/qbsbug_dll/qb.cpp +++ b/qbsbug_dll/qb.cpp @@ -9,5 +9,9 @@ namespace qb { std::cout << "symbol used!" << std::endl; } + void useAnotherSymbol() { + std::cout << "another symbol used!" << std::endl; + } + } -- 1.8.5.2.msysgit.0