diff options
| author | Manuel Traut <manut@mecka.net> | 2012-06-07 16:00:59 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2012-06-07 16:00:59 +0200 |
| commit | e3f225cd4fb60437d94288849f7af03179d56f6b (patch) | |
| tree | 7c4ef56f5c83fc6cdd6d74a0aa8011f0f39b0307 /devices | |
| parent | f5e17d19e473e501ffa964ec3ccda1970ecafbf2 (diff) | |
retriving digital ios inside a device works now
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'devices')
| -rw-r--r-- | devices/simple_dev/Makefile | 2 | ||||
| -rw-r--r-- | devices/simple_dev/simple_dev.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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; |
