Skip to content

Commit

Permalink
Add Missing Exports/Symbol Linkage
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Mar 26, 2023
1 parent 903870e commit 67c880f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -543,13 +543,17 @@ set(IO_SOURCE
src/IO/InvalidatableFile.cpp)
set(IO_ADIOS1_SEQUENTIAL_SOURCE
src/auxiliary/Filesystem.cpp
src/auxiliary/JSON.cpp
src/ChunkInfo.cpp
src/Error.cpp
src/IO/ADIOS/CommonADIOS1IOHandler.cpp
src/IO/ADIOS/ADIOS1IOHandler.cpp
src/IO/IOTask.cpp)
set(IO_ADIOS1_SOURCE
src/auxiliary/Filesystem.cpp
src/auxiliary/JSON.cpp
src/ChunkInfo.cpp
src/Error.cpp
src/IO/ADIOS/CommonADIOS1IOHandler.cpp
src/IO/ADIOS/ParallelADIOS1IOHandler.cpp
src/IO/IOTask.cpp)
Expand Down
3 changes: 2 additions & 1 deletion include/openPMD/IO/AbstractIOHandlerImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "openPMD/IO/AbstractIOHandler.hpp"
#include "openPMD/IO/IOTask.hpp"
#include "openPMD/auxiliary/DerefDynamicCast.hpp"
#include "openPMD/auxiliary/Export.hpp"

#include <future>
#include <iostream>
Expand Down Expand Up @@ -569,7 +570,7 @@ class AbstractIOHandlerImpl
* Using the default implementation (which copies the abstractFilePath
* into the current writable) should be enough for all backends.
*/
void
OPENPMDAPI_EXPORT void
keepSynchronous(Writable *, Parameter<Operation::KEEP_SYNCHRONOUS> param);

/** Notify the backend that the Writable has been / will be deallocated.
Expand Down
3 changes: 2 additions & 1 deletion include/openPMD/auxiliary/JSON_internal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#pragma once

#include "openPMD/auxiliary/Export.hpp"
#include "openPMD/config.hpp"

#include <nlohmann/json.hpp>
Expand Down Expand Up @@ -64,7 +65,7 @@ namespace json
* declare keys read manually.
*
*/
class TracingJSON
class OPENPMDAPI_EXPORT TracingJSON
{
public:
TracingJSON();
Expand Down

0 comments on commit 67c880f

Please sign in to comment.