From 18cc19919d2c6cbb7a6c042818c461d3b0f267b3 Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 10 Dec 2024 13:43:43 +0100 Subject: [PATCH] Remove references to ICE_CPP11_MAPPING --- cpp/DataStorm/stock/README.md | 4 ++-- cpp/make/Make.rules | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/DataStorm/stock/README.md b/cpp/DataStorm/stock/README.md index 929c139cd..1e06c6310 100644 --- a/cpp/DataStorm/stock/README.md +++ b/cpp/DataStorm/stock/README.md @@ -3,16 +3,16 @@ topic and send partial updates to update the stock price or volume. The reader prints out the stock information and partial updates. The demo uses Slice to define the `Demo::Stock` class in the `Stock.ice` file. -When compiling the code generated by `slice2cpp`, it's important to define the -`ICE_CPP11_MAPPING` macro to use the Ice for C++11 mapping instead. To run the demo, start the writer and specify the ticker of the stocks to write: + ``` writer ``` In a separate window, start the reader and specify the stock tickers you wish to follow: + ``` reader ``` diff --git a/cpp/make/Make.rules b/cpp/make/Make.rules index a62e8dfd8..3dde6bbad 100644 --- a/cpp/make/Make.rules +++ b/cpp/make/Make.rules @@ -61,7 +61,7 @@ $1_srcext := cpp $1_dependencies := $$(or $$($1_dependencies),Ice) $1_slicecompiler := slice2cpp $1_sliceflags := -I$(ice_slicedir) -I$1 $$($1_sliceflags) -$1_cppflags := -DICE_CPP11_MAPPING -std=c++17 -I$1 -I$1/generated $(ice_cppflags) $$($1_cppflags) +$1_cppflags := -std=c++17 -I$1 -I$1/generated $(ice_cppflags) $$($1_cppflags) $1_caninstall := no # Also link with IceSSL, IceDiscovery and IceLocatorDiscovery when compiling the project with the static configuration