Hello again,
After several days of investigation, I was able to patch and make NEC
(numerical Electromacnetigs Code) in plain C languaje under OpenBSD.
The trick was making function definitions for those functions that are
"built-in " in gcc compiler:
#define complex _Complex
double creal(comple
Hannah Schroeter wrote:
> Hello!
>
> On Sat, Sep 03, 2005 at 09:30:51AM +0200, Ramiro Aceves wrote:
>
>>[...]
>
>
>>Thank you very much to all for your responses. I seems that It is a good
>>time to learn the C++ thing. Some time ago with no too much free time, I
>>tried it with no luck. I foun
Hello!
On Sat, Sep 03, 2005 at 09:30:51AM +0200, Ramiro Aceves wrote:
>[...]
>Thank you very much to all for your responses. I seems that It is a good
>time to learn the C++ thing. Some time ago with no too much free time, I
>tried it with no luck. I found object oriented programming very strange
Karle, Chris wrote:
> find /usr/include | xargs grep __real__
>
> led me to:
> /usr/include/g++/complex
>
>
>
> -Original Message-
> From: Ramiro Aceves [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 02, 2005 10:49 AM
> To: misc@openbsd.org
&
Bob Beck wrote:
Do you know where can I get the complex.h file, or please can you point
me in the right direction? I am puzzled now.
>
>
> What you posted is not a C program it is a C++ program. If you
> actually use the C++ compiler it works fine. You don't need to "find
> the head
Hello dear friends,
I am sorry, I do not know how to program in C++, I was looking for
something in "plain C", not C++. I seems that as Otto stated, complex.h
is a C99 thing and OpenBSD does not fully support C99.
Anyway, I understand it better now. I will see whether I am able to
modify the prog
> > > Do you know where can I get the complex.h file, or please can you point
> > > me in the right direction? I am puzzled now.
What you posted is not a C program it is a C++ program. If you
actually use the C++ compiler it works fine. You don't need to "find
the header file" if you actua
On Friday 02 September 2005 13:32, Otto Moerbeek wrote:
> On Fri, 2 Sep 2005, Ramiro Aceves wrote:
>
> > Hello dear OpenBSD fans.
> >
> > I am trying to compile a C program (Numerical Electromagnetics Code,
> > NEC, for antenna modelling) that needs complex numbers. I compiled it
> > with gcc on
On Fri, 2 Sep 2005, Ramiro Aceves wrote:
> Hello dear OpenBSD fans.
>
> I am trying to compile a C program (Numerical Electromagnetics Code,
> NEC, for antenna modelling) that needs complex numbers. I compiled it
> with gcc on Linux with no special problems. It is an originaly fortran
> written
Is /usr/include/g++/backward/complex.h what you mean?
Jasper
On Fri, 02 Sep 2005 17:49:19 +0200
Ramiro Aceves <[EMAIL PROTECTED]> wrote:
> Hello dear OpenBSD fans.
>
> I am trying to compile a C program (Numerical Electromagnetics Code,
> NEC, for antenna modelling) that needs complex numbers.
find /usr/include | xargs grep __real__
led me to:
/usr/include/g++/complex
-Original Message-
From: Ramiro Aceves [mailto:[EMAIL PROTECTED]
Sent: Friday, September 02, 2005 10:49 AM
To: misc@openbsd.org
Subject: complex.h under OpenBSD
Hello dear OpenBSD fans.
I am trying to
Hello dear OpenBSD fans.
I am trying to compile a C program (Numerical Electromagnetics Code,
NEC, for antenna modelling) that needs complex numbers. I compiled it
with gcc on Linux with no special problems. It is an originaly fortran
written program that nowadays is translated into C for conveni
12 matches
Mail list logo