Skip to content

Function declaration conflicts with introduced by using declaration #18759

@llvmbot

Description

@llvmbot
Bugzilla Link 18385
Resolution INVALID
Resolved on May 04, 2017 07:48
Version unspecified
OS Windows NT
Blocks #18592
Reporter LLVM Bugzilla Contributor
CC @mclow

Extended Description

Win 8.1 Pro 64 bit, MSVC 2013 (November 2013 CTP Compiler Tools, it's latest)
Project files generated via Cmake for MS Visual Studio 2012 Win64.
SVN rev 198298:

===cmath header===

error C2883: 'std::abs' : function declaration conflicts with 'abs' introduced by using-declaration D:\Build\libcxx\include\cmath

error C2084: function 'long double abs(long double) throw()' already has a body

error C2883: 'std::abs' : function declaration conflicts with 'abs' introduced by using-declaration D:\Build\libcxx\include\cmath

error C2084: function 'double abs(double) throw()' already has a body

error C2883: 'std::abs' : function declaration conflicts with 'abs' introduced by using-declaration D:\Build\libcxx\include\cmath

error C2084: function 'float abs(float) throw()' already has a body

===math_win32.h===

error C2084: function 'bool signbit(double)' already has a body

same with 'std::fpclassify', also 'strtof' in stdlib - "redefinition; different linkage".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillainvalidResolved as invalid, i.e. not a buglibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions