Warning during compilation

Hi all,

I get this warning during compilation:

make[3]: Entering directory
`/home/wendling/llvm/llvm/lib/ExecutionEngine/JIT'
Compiling Emitter.cpp
Emitter.cpp:44:1: warning: "_POSIX_MAPPED_FILES" redefined
In file included from /usr/include/unistd.h:171,
                 from
/usr/include/c++/3.3.1/i586-mandrake-linux-gnu/bits/gthr-default.h:38,
                 from
/usr/include/c++/3.3.1/i586-mandrake-linux-gnu/bits/gthr.h:98,
                 from
/usr/include/c++/3.3.1/i586-mandrake-linux-gnu/bits/c++io.h:37,
                 from /usr/include/c++/3.3.1/bits/fpos.h:44,
                 from /usr/include/c++/3.3.1/iosfwd:49,
                 from /usr/include/c++/3.3.1/bits/stl_algobase.h:70,
                 from /usr/include/c++/3.3.1/vector:67,
                 from
/home/wendling/llvm/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:11,
                 from VM.h:10,
                 from Emitter.cpp:9:
/usr/include/bits/posix_opt.h:39:1: warning: this is the location of the
previous definition

It probably is already fixed, but just wanted to let people know.

Share and enjoy!

-bw

Greetings, kind LLVMer,

I get this warning during compilation:

[snip]

Compiling Emitter.cpp
Emitter.cpp:44:1: warning: "_POSIX_MAPPED_FILES" redefined

[snip]

A fresh, tasty patch has been committed in your honor:

http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20030908/006879.html

Thanks for the report!