Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2018 12:26:10 -0500
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Erich Dollansky <freebsd.ed.lists@sumeritec.com>
Cc:        Shane Ambler <FreeBSD@shaneware.biz>,  FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Clang++ stdlib/cstdlib.h workaround
Message-ID:  <CAJ5UdcP_WJ1jEen-P2h3UJYHU25EANN8WNB-fx5QJUp_i-pvAw@mail.gmail.com>
In-Reply-To: <20180704232306.2bacb554.freebsd.ed.lists@sumeritec.com>
References:  <CAJ5UdcP-Hpa%2BYqAkwkrv4ec_mV=CaTzDo%2BkCAADd-JKb25OdeQ@mail.gmail.com> <f907f846-f607-40a1-c925-c04d1569ac47@ShaneWare.Biz> <CAJ5UdcM7yhBUdPu7fgDazZmXCU3RKVBDz3TkW8s9SgLAPY9SOA@mail.gmail.com> <20180704232306.2bacb554.freebsd.ed.lists@sumeritec.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, July 4, 2018, Erich Dollansky <freebsd.ed.lists@sumeritec.com>
wrote:
> Hi,
>
> On Wed, 4 Jul 2018 07:30:54 -0500
> Antonio Olivares <olivares14031@gmail.com> wrote:
>
>> On Tuesday, July 3, 2018, Shane Ambler <FreeBSD@shaneware.biz> wrote:
>> > On 04/07/2018 04:08, Antonio Olivares wrote:
>> >> Dear kind folks,
>> >>
>> Thanks for your input.  For the moment I have removed the header file
>>
>> #include <stdlib.c>
>
> is this just a typing error or is this the cause?
>
> Erich
>

Typing error!
It should be
``#include <stdlib.h>''
Or
``#include <cstdlib.h>''
And some variations omit the ".h" part.  I had a cout statement in two
lines and I always got error message.  Once I joined the statements to a
single line the program compiled successfully.

Best Regards,


Antonio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5UdcP_WJ1jEen-P2h3UJYHU25EANN8WNB-fx5QJUp_i-pvAw>