From 21341bc317bc027b40e960c546f9848c40539464 Mon Sep 17 00:00:00 2001 From: syntheticpp Date: Thu, 5 Jan 2006 21:28:37 +0000 Subject: [PATCH] independent from libloki, use namespace loki, remove warnings git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@435 7ec92016-0320-0410-acc4-a06ded1c099a --- test/SafeFormat/Makefile | 2 +- test/SafeFormat/main.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/SafeFormat/Makefile b/test/SafeFormat/Makefile index 1322b95..1537333 100755 --- a/test/SafeFormat/Makefile +++ b/test/SafeFormat/Makefile @@ -1,7 +1,7 @@ OBJ = main.o BIN = main-gcc CXXFLAGS = -I../../include -Wall -O2 -DNDEBUG -LIBS = -L../../lib -lloki +LIBS = $(BIN): $(OBJ) $(CXX) -o $(BIN) $(OBJ) $(LIBS) diff --git a/test/SafeFormat/main.cpp b/test/SafeFormat/main.cpp index d509acf..a58492a 100755 --- a/test/SafeFormat/main.cpp +++ b/test/SafeFormat/main.cpp @@ -17,6 +17,7 @@ #include "../SmallObj/timer.h" using namespace std; +using namespace Loki; template Integral2 RandomInt(Integral1 low, Integral2 up)