Skip to content

Build Errors on Linux #1

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Attempt to build on Ubuntu x64 using "g++ MicroAllocator.cpp 
MicroAllocator.h -o MicroAllocator.exe -O2 -DLINUX".
2. Add include <cstdlib> to and using namespace std; to reduce error count. I 
wouldn't leave it that way in final release, but it cleared up dozens of build 
errors.
3. I made a few other minor changes to reduce build errors, but I am left with 
MicroAllocator.cpp:755:12: error: ‘::malloc’ has not been declared
 and I am not sure how to resolve. I see no anonymous namespaces. I get similar errors with 

What is the expected output? What do you see instead?
A successful compilation.

What version of the product are you using? On what operating system?
Newest version, SVN revision 5. Ubuntu linux 13.04 x64.

Please provide any additional information below.
I can help you by creating a CMake build for this if you like, I am researching 
allocators for a project and it would be worth my time if you are willing to 
help with build errors.

I have attached my hacked version, and a log of its results. In 
Buildlog-raw.txt is the original build results with no changes.

Original issue reported on code.google.com by top...@gmail.com on 2 Aug 2013 at 1:40

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions