Skip to content
Snippets Groups Projects
Commit 6ed2c4e0 authored by Marco De Marco's avatar Marco De Marco
Browse files

Makefile modified, id key not exported

parent 40eb595d
No related branches found
No related tags found
No related merge requests found
...@@ -4,30 +4,32 @@ INST_NAME=test ...@@ -4,30 +4,32 @@ INST_NAME=test
DEBUG_LEV=-v3 DEBUG_LEV=-v3
INSTALL_DIR=/usr/local/bin INSTALL_DIR=/usr/local/bin
#================================================================================ #================================================================================
INC_DIR=/usr/local/omniORB-4.1.7/include \ INC_DIR=/usr/local/omniORB/include \
/usr/local/zeromq-3.2.3/include/zmq \ /usr/local/zeromq/include/zmq \
/usr/local/tango-8.1.2/include/tango \ /usr/local/tango/include/tango \
/usr/local/soci-3.2.1/include \ /usr/local/boost/include \
/usr/local/soci-3.2.1/include/soci \ /usr/local/soci/include \
/usr/local/soci/include/soci \
/usr/include/mysql \ /usr/include/mysql \
/usr/local/protobuf-2.5.0/include \ /usr/local/protobuf/include \
./src ./src
LIB_DIR=/usr/local/omniORB-4.1.7/lib \ LIB_DIR=/usr/local/omniORB/lib \
/usr/local/zeromq-3.2.3/lib \ /usr/local/zeromq/lib \
/usr/local/tango-8.1.2/lib \ /usr/local/tango/lib \
/usr/local/soci-3.2.1/lib64 \ /usr/local/boost/lib \
/usr/local/protobuf-2.5.0/lib /usr/local/soci/lib64 \
/usr/local/protobuf/lib
#================================================================================ #================================================================================
CC=g++ CC=g++
CXX_DEBUG_FLAGS=-g -DVERBOSE_DEBUG CXX_DEBUG_FLAGS=-g -DVERBOSE_DEBUG
CXX_RELEASE_FLAGS=-O3 CXX_RELEASE_FLAGS=-O3
CXX_DEFAULT_FLAGS=-c -Wall -Wextra -std=c++11 -std=gnu++11 CXX_DEFAULT_FLAGS=-c -Wall -Wextra -std=c++0x
LDFLAGS=-Wall -lomniORB4 -lomniDynamic4 -lCOS4 -lomnithread -ltango -llog4tango \ LDFLAGS=-Wall -lomniORB4 -lomniDynamic4 -lCOS4 -lomnithread -ltango -llog4tango \
-lsoci_core -lsoci_mysql -lboost_system -lboost_thread -lboost_filesystem \ -lsoci_core -lsoci_mysql -lboost_system -lboost_thread -lboost_filesystem \
-lboost_date_time-mt -lprotobuf -lssl -lboost_date_time-mt -lprotobuf -lssl
INC_PARM=$(foreach d, $(INC_DIR), -I$d) INC_PARM=$(foreach d, $(INC_DIR), -I$d)
LIB_PARM=$(foreach d, $(LIB_DIR), -L$d) LIB_PARM=$(foreach d, $(LIB_DIR), -L$d)
PROTOC :=/usr/local/protobuf-2.5.0/bin/protoc PROTOC :=/usr/local/protobuf/bin/protoc
#================================================================================ #================================================================================
SRC_DIR=./src SRC_DIR=./src
OBJ_DIR=./obj OBJ_DIR=./obj
......
...@@ -41,7 +41,7 @@ protected: ...@@ -41,7 +41,7 @@ protected:
virtual ~DBManager(); virtual ~DBManager();
class Deleter; class Deleter;
friend Deleter; friend class Deleter;
class Deleter class Deleter
{ {
public: public:
......
...@@ -17,7 +17,7 @@ class PlainServer : public Server ...@@ -17,7 +17,7 @@ class PlainServer : public Server
virtual ~PlainServer(); virtual ~PlainServer();
class Deleter; class Deleter;
friend Deleter; friend class Deleter;
class Deleter class Deleter
{ {
public: public:
......
...@@ -447,7 +447,9 @@ void ProtocolManager::fillRow(Response::Metadata::Row* row) ...@@ -447,7 +447,9 @@ void ProtocolManager::fillRow(Response::Metadata::Row* row)
std::string name = props.get_name(); std::string name = props.get_name();
if(name.compare("storage_path")==0 || name.compare("file_path")==0) if(name.compare("id")==0 ||
name.compare("storage_path")==0 ||
name.compare("file_path")==0)
{ {
#ifdef VERBOSE_DEBUG #ifdef VERBOSE_DEBUG
INFO_STREAM << "ProtocolManager::fillRow() skipping " << name << endl; INFO_STREAM << "ProtocolManager::fillRow() skipping " << name << endl;
......
...@@ -34,7 +34,7 @@ protected: ...@@ -34,7 +34,7 @@ protected:
virtual ~ProtocolManager(); virtual ~ProtocolManager();
class Deleter; class Deleter;
friend Deleter; friend class Deleter;
class Deleter class Deleter
{ {
public: public:
......
...@@ -19,7 +19,7 @@ class SSLServer : public Server ...@@ -19,7 +19,7 @@ class SSLServer : public Server
virtual ~SSLServer(); virtual ~SSLServer();
class Deleter; class Deleter;
friend Deleter; friend class Deleter;
class Deleter class Deleter
{ {
public: public:
......
...@@ -27,7 +27,7 @@ protected: ...@@ -27,7 +27,7 @@ protected:
virtual ~SSLSession(); virtual ~SSLSession();
class Deleter; class Deleter;
friend Deleter; friend class Deleter;
class Deleter class Deleter
{ {
public: public:
......
...@@ -85,7 +85,7 @@ protected: ...@@ -85,7 +85,7 @@ protected:
boost::asio::io_service::strand m_strand; boost::asio::io_service::strand m_strand;
//Header size written on socket //Header size written on socket
const unsigned int HEADER_SIZE = 4; static const unsigned int HEADER_SIZE = 4;
//Binary buffer for read data //Binary buffer for read data
std::vector<boost::uint8_t> m_readBuff; std::vector<boost::uint8_t> m_readBuff;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment