Message from discussion
memory.h
Date: Sun, 5 Aug 2012 21:57:22 -0700 (PDT)
From: Adamk <ad...@exceltech.com.au>
To: cpputest@googlegroups.com
Message-Id: <aed24f84-1ec3-4a03-93c3-134dd660a036@googlegroups.com>
Subject: memory.h
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_Part_0_8399237.1344229042882"
------=_Part_0_8399237.1344229042882
Content-Type: multipart/alternative;
boundary="----=_Part_1_10672494.1344229042882"
------=_Part_1_10672494.1344229042882
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Hi all
I'm trying to compile CppUTest for my embedded platform and am getting the
following warning:
compiling AllocLetTestFree.c
> ....
> tests/AllocLetTestFree.c:8:20: error: memory.h: No such file or directory
>
As an embedded guy I don't really do C++ and am not too interested in it
other than I would like to get these unit tests running on my platform for
peace of mind. My cross compiler is gcc based and has C++ compiler. I've
done some digging and can't find a memory.h include file for the C compiler
but can find a memory file for the C++ compiler. But now I'm confused
because everything I can find on the C Standard Library doesn't indicate
that there should be a memory.h file.
Can someone please explain to me what's going on here in relation to the
CPPUTEST_USE_STD_C_LIB macro and whether the above error means that my
cross compiler is going to be able to compile CppUTest?
Cheers
Adam
------=_Part_1_10672494.1344229042882
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi all<br><br>I'm trying to compile CppUTest for my embedded platform and a=
m getting the following warning:<br><br><blockquote style=3D"margin: 0px 0p=
x 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"=
class=3D"gmail_quote">compiling AllocLetTestFree.c<br>....<br>tests/AllocL=
etTestFree.c:8:20: error: memory.h: No such file or directory<br></blockquo=
te><br>As an embedded guy I don't really do C++ and am not too interested i=
n it other than I would like to get these unit tests running on my platform=
for peace of mind. My cross compiler is gcc based and has C++ compil=
er. I've done some digging and can't find a memory.h include file for=
the C compiler but can find a memory file for the C++ compiler. But =
now I'm confused because everything I can find on the C Standard Library do=
esn't indicate that there should be a memory.h file.<br><br>Can someone ple=
ase explain to me what's going on here in relation to the CPPUTEST_USE_STD_=
C_LIB macro and whether the above error means that my cross compiler is goi=
ng to be able to compile CppUTest?<br><br>Cheers<br>Adam<br>
------=_Part_1_10672494.1344229042882--
------=_Part_0_8399237.1344229042882--