Skip to content

Commit

Permalink
Guard against multiple inclusion (#553)
Browse files Browse the repository at this point in the history
Signed-off-by: JLBuenoLopez-eProsima <[email protected]>
  • Loading branch information
JLBuenoLopez authored Sep 11, 2023
1 parent 83d288d commit 4609f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/fastddsgen/dataTypes/dataTypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ Including other IDL files
Other IDL files can be included in addition to the current IDL file.
*Fast DDS-Gen* uses a C/C++ preprocessor for this purpose, and ``#include`` directive can be used to include an IDL
file.
Preprocessor directives guarding against multiple inclusion of the same IDL file are also advisable.

.. literalinclude:: /../code/FastDDSGenCodeTester.cpp
:language: c++
Expand All @@ -367,7 +368,6 @@ If *Fast DDS-Gen* does not find a C/C++ preprocessor in default system paths, th
using parameter ``-ppPath``.
The parameter ``-ppDisable`` can be used to disable the usage of the C/C++ preprocessor.


Annotations
--------------

Expand Down

0 comments on commit 4609f24

Please sign in to comment.