Mailinglist Archive: opensuse-bugs (4297 mails)

< Previous Next >
[Bug 1041123] New: fts.h cannot be used in C++ mode with _FILE_OFFSET_BITS
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 28 May 2017 07:42:07 +0000
  • Message-id: <bug-1041123-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1041123


Bug ID: 1041123
Summary: fts.h cannot be used in C++ mode with
_FILE_OFFSET_BITS
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: i586
OS: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: Basesystem
Assignee: schwab@xxxxxxx
Reporter: jengelh@xxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

$ cat >test.cpp <<-EOF
#define _FILE_OFFSET_BITS 64
#include <fts.h>

$ g++ -c test.cpp
In file included from /usr/include/features.h:410:0,
from /usr/include/fts.h:53,
from damn.cc:2:
/usr/include/fts.h:196:62: error: expected initializer before ‘throw’
int __REDIRECT (fts_set, (FTS *, FTSENT *, int), fts64_set) __THROW;

gcc version 6.3.1 20170331 [gcc-6-branch revision 246609] (SUSE Linux)
gcc version 7.1.1 20170517 [gcc-7-branch revision 248152] (SUSE Linux)
glibc-2.25-2.1.x86_64

Since the x86_64 targets do not normally have a need to define
_FILE_OFFSET_BITS=64, this mostly affects i586 builds. But it is triggerable
from x86_64 if and when _FILE_OFFSET_BITS is defined.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
This Thread
  • No further messages