From e3f225cd4fb60437d94288849f7af03179d56f6b Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Thu, 7 Jun 2012 16:00:59 +0200 Subject: retriving digital ios inside a device works now Signed-off-by: Manuel Traut --- devices/simple_dev/Makefile | 2 +- devices/simple_dev/simple_dev.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'devices/simple_dev') diff --git a/devices/simple_dev/Makefile b/devices/simple_dev/Makefile index 9ea290e..77cef22 100644 --- a/devices/simple_dev/Makefile +++ b/devices/simple_dev/Makefile @@ -12,7 +12,7 @@ LDFLAGS += -L$(DISTRIO_COMMON) -ldistrio_common \ -L$(DISTRIO_IO) -ldistrio_io \ -L$(DISTRIO_MANAGER) -ldistrio_manager \ -lrt -lACE -lTAO -lTAO_AnyTypeCode -lTAO_CosNaming -lTAO_PortableServer -CFLAGS += -fPIC -I$(DISTRIO_COMMON) -I$(DISTRIO_IO) -I$(DISTRIO_MANAGER) +CFLAGS += -g -fPIC -I$(DISTRIO_COMMON) -I$(DISTRIO_IO) -I$(DISTRIO_MANAGER) CXXFLAGS += $(CFLAGS) DESTDIR := /usr diff --git a/devices/simple_dev/simple_dev.cpp b/devices/simple_dev/simple_dev.cpp index 8f2072f..ca31b6e 100644 --- a/devices/simple_dev/simple_dev.cpp +++ b/devices/simple_dev/simple_dev.cpp @@ -19,7 +19,7 @@ class My_device : public Distrio_Device_i { ::CORBA::Long my_id; }; -int main (int argc, char **argv) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { int ret = 0; My_device *dev; -- cgit v1.2.3