Skip to content

Commit

Permalink
Remove references to ICE_CPP11_MAPPING
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Dec 10, 2024
1 parent 9581dd3 commit 18cc199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cpp/DataStorm/stock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion cpp/make/Make.rules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18cc199

Please sign in to comment.