Skip to content
Snippets Groups Projects
Commit 091b3230 authored by pospelov's avatar pospelov
Browse files

JCNS compiler is sensitive to wrong inline

parent 35237363
No related branches found
No related tags found
No related merge requests found
...@@ -38,29 +38,29 @@ class LayerInterface : public ICompositeSample ...@@ -38,29 +38,29 @@ class LayerInterface : public ICompositeSample
const LayerRoughness& roughness); const LayerRoughness& roughness);
//! Sets link to the layer above the interface. //! Sets link to the layer above the interface.
inline void setLayerTop(const Layer* p_layer_top) void setLayerTop(const Layer* p_layer_top)
{ m_LayerTop = p_layer_top; } { m_LayerTop = p_layer_top; }
//! Sets link to the layer below the interface. //! Sets link to the layer below the interface.
inline void setLayerBottom(const Layer* p_layer_bottom) void setLayerBottom(const Layer* p_layer_bottom)
{ m_LayerBottom = p_layer_bottom; } { m_LayerBottom = p_layer_bottom; }
//! Sets links to the layers above and below the interface. //! Sets links to the layers above and below the interface.
inline void setLayersTopBottom( void setLayersTopBottom(
const Layer* p_layer_top, const Layer* p_layer_bottom) const Layer* p_layer_top, const Layer* p_layer_bottom)
{ setLayerTop(p_layer_top); setLayerBottom(p_layer_bottom); } { setLayerTop(p_layer_top); setLayerBottom(p_layer_bottom); }
//! Sets roughness of the interface. //! Sets roughness of the interface.
inline void setRoughness(const LayerRoughness& roughness); void setRoughness(const LayerRoughness& roughness);
//! Returns roughness of the interface. //! Returns roughness of the interface.
inline const LayerRoughness *getRoughness() const { return m_roughness; } const LayerRoughness *getRoughness() const { return m_roughness; }
//! Returns top layer. //! Returns top layer.
inline const Layer *getLayerTop() const { return m_LayerTop; } const Layer *getLayerTop() const { return m_LayerTop; }
//! Returns bottom layer. //! Returns bottom layer.
inline const Layer *getLayerBottom() const { return m_LayerBottom; } const Layer *getLayerBottom() const { return m_LayerBottom; }
protected: protected:
void print(std::ostream& ostr) const; void print(std::ostream& ostr) const;
......
...@@ -82,10 +82,11 @@ isEqual(env_jcns_variable, "yes") { ...@@ -82,10 +82,11 @@ isEqual(env_jcns_variable, "yes") {
CONFIG(BORNAGAIN_JCNS) { CONFIG(BORNAGAIN_JCNS) {
message("Special config for JCNS") message("Special config for JCNS")
INCLUDEPATH += /usr/users/jcns/pospelov/software/include INCLUDEPATH += /usr/users/jcns/pospelov/software/include
LIBS += -L/usr/users/jcns/pospelov/software/lib -L/usr/local/lib -L/usr/lib64 \ OLD_LIBS = $$LIBS
LIBS = -L/usr/users/jcns/pospelov/software/lib -L/usr/local/lib -L/usr/lib64 \
-lgsl -lgslcblas -lfftw3 -lboost_program_options -lboost_iostreams \ -lgsl -lgslcblas -lfftw3 -lboost_program_options -lboost_iostreams \
-lboost_system -lboost_signals -lboost_filesystem -lboost_regex \ -lboost_system -lboost_signals -lboost_filesystem -lboost_regex \
-lboost_thread -lboost_thread $$OLD_LIBS
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment