[Bug 283179] Support O_TMPFILE in open()
| Newsgroups | gmane.os.freebsd.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283179 Nuno Teixeira <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Nuno Teixeira <[email protected]> --- Hello, Not sure if it is related, but mail/cone new version 2.0 gives this error: ... include -fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include -Wall -I.. -I./.. -MT rfc822_mkdate.lo -MD -MP -MF .deps/rfc822_mkdate.Tpo -c rfc822_mkdate.C -fPIC -DPIC -o .libs/rfc822_mkdate.o rfc822_fdstreambuf.C:38:16: error: use of undeclared identifier 'O_TMPFILE' 38 | open(tmpdir, O_TMPFILE|O_RDWR|O_EXCL, 0600) | ^~~~~~~~~ rfc822.C:967:15: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 967 | char out_buf[bufsiz]; | ^~~~~~ rfc822.C:967:15: note: read of non-const variable 'bufsiz' is not allowed in a constant expression rfc822.C:962:9: note: declared here 962 | size_t bufsiz=n+4; | ^ ... I'm looking for hints and soon I'll send report to upstream. Thanks -- You are receiving this mail because: You are the assignee for the bug.