I have copied the line from Makefile which produces error and added
"-save-temps" . Resultin *.i file in attachment.
Please inform, if you need more information.
gcc -save-temps -DHAVE_CONFIG_H -I. -I../src -I../src -I../test
-I../tools/lib -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -D_POSIX_SOURCE -D_BSD_SOURCE -DNDEBUG
-UH5_DEBUG_API -std=c99 -pedantic -Wall -Wextra -Wundef -Wshadow
-Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-
strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-
prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
-Wnested-externs -Winline -Wno-long-long -Wfloat-equal -Wmissing-format-
attribute -Wmissing-noreturn -Wpacked -Wdisabled-optimization
-Wmultichar -Wformat-nonliteral -Wformat-security -Wformat-y2k
-Wunreachable-code -Wendif-labels -Wdeclaration-after-statement -Wold-
style-definition -Winvalid-pch -Wmissing-field-initializers -Wvariadic-
macros -Wunsafe-loop-optimizations -Wc++-compat -Wvolatile-register-var
-O -fomit-frame-pointer -finline-functions -MT zip_perf.o -MD -MP -MF
.deps/zip_perf.Tpo -c -o zip_perf.o zip_perf.
The error is the same:
"
In function 'open',
inlined from 'do_write_test' at zip_perf.c:548,
inlined from 'main' at zip_perf.c:649:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared
with attribute error: open with O_CREAT in second argument needs 3 arguments
"
** Attachment added: "zip_perf.i"
http://launchpadlibrarian.net/18883531/zip_perf.i
--
error with gcc-4.3 compilation: "/usr/include/bits/fcntl2.h:51: error: call to
'__open_missing_mode' declared with attribute error"
https://bugs.launchpad.net/bugs/286565
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs