Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: apabil on December 07, 2011, 01:33:10 am

Title: importing stdio.h
Post by: apabil on December 07, 2011, 01:33:10 am
Hi,

I'm trying to import the C library, stdio.h https://docs.google.com/open?id=0BzfslFYR0mjEZDliOWY2MDAtMzJkNS00OTJjLWIyZGUtZDdhYTZkZWZlYWVk

and I'm getting the following error:

https://docs.google.com/open?id=0BzfslFYR0mjENjhkNDNjZGQtZTVlNy00NmMwLTg5NTQtMjZhMzJhMTg2YmFi

Suggestions are welcomed.

apabil
Title: Re: importing stdio.h
Post by: Eve on December 07, 2011, 08:22:46 am
Go to Settings | Preprocessor macros.

It is stumbling because of the earlier macro use __BEGIN_DECLS.

A quick look through the file also reveals the following additional macros.

__BEGIN_NAMESPACE_STD, __END_NAMESPACE_STD, __BEGIN_NAMESPACE_C99, __END_NAMESPACE_C99, __END_DECLS