https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67363

            Bug ID: 67363
           Summary: r227188 breaks build for mingw-w64
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ismail at i10z dot com
  Target Milestone: ---

After r227188 mingw-w64 build on Linux fails with:

../../combined-6.0.0/gcc/gcc.c: In member function 'void
env_manager::xput(const char*)':
../../combined-6.0.0/gcc/gcc.c:126:50: error: 'strndup' was not
declared in this scope
       kv.m_key = strndup (string, equals - string);
                                                  ^
../../combined-6.0.0/gcc/gcc.c: In member function 'void
env_manager::restore()':
../../combined-6.0.0/gcc/gcc.c:154:2: error: '::setenv' has not been declared
  ::setenv (item->m_key, item->m_value, 1);
  ^
../../combined-6.0.0/gcc/gcc.c:156:2: error: '::unsetenv' has not been declared
  ::unsetenv (item->m_key);
  ^

Reply via email to