[LLVMdev] Warning during compilation

Bill Wendling wendling at isanbard.org
Wed Sep 10 09:30:03 PDT 2003


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

-- 
||  "If wishes and buts were clusters of nuts, we'd all have a bowl of
||   granola!" - Mr. Jellyneck



More information about the llvm-dev mailing list