http://llvm.org/bugs/show_bug.cgi?id=17911
Bug ID: 17911
Summary: Excessive output using clang-cl
Product: clang
Version: trunk
Hardware: PC
OS: Windows XP
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Compiling with clang-cl there is excessive output being produced every time a
macro is encountered. There must be a way developed to turn off all this
output, which is neither a warning or an error. Nobody is going to want to look
through all this output by default. Please either turn this output off by
default ( preferred ) or create a compiler switch to do so.
The output looks like:
--------------------------------------------------------------------------------
..\..\..\boost/mpl/aux_/test/assert.hpp(20,40) : note: expanded from macro
'MPL_ASSERT'
#define MPL_ASSERT(pred) BOOST_MPL_ASSERT(pred)
^
..\..\..\boost/mpl/assert.hpp(285,6) : note: expanded from macro
'BOOST_MPL_ASSERT'
, BOOST_PP_CAT(mpl_assertion_in_line_,BOOST_MPL_AUX_PP_COUNTER()) = sizeof(
\
^
..\..\..\boost/preprocessor/cat.hpp(22,31) : note: expanded from macro
'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see
all)
<scratch space>(82,0) : note: expanded from here
mpl_assertion_in_line_21
^
..\..\..\boost/mpl/assert.hpp(60,75) : note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
# define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) BOOST_STATIC_CONSTANT(T,
expr)
^
..\..\..\boost/config/suffix.hpp(361,71) : note: expanded from macro
'BOOST_STATIC_CONSTANT'
# define BOOST_STATIC_CONSTANT(type, assignment) static const type
assignment
^
aux_\largest_int.cpp(22,4) : warning: unused variable
'mpl_assertion_in_line_22' [-Wunused-variable]
MPL_ASSERT(( is_same< mpl::aux::largest_int<char,bool>::type, char > ));
^
..\..\..\boost/mpl/aux_/test/assert.hpp(20,40) : note: expanded from macro
'MPL_ASSERT'
#define MPL_ASSERT(pred) BOOST_MPL_ASSERT(pred)
^
..\..\..\boost/mpl/assert.hpp(285,6) : note: expanded from macro
'BOOST_MPL_ASSERT'
, BOOST_PP_CAT(mpl_assertion_in_line_,BOOST_MPL_AUX_PP_COUNTER()) = sizeof(
\
^
..\..\..\boost/preprocessor/cat.hpp(22,31) : note: expanded from macro
'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see
all)
<scratch space>(84,0) : note: expanded from here
mpl_assertion_in_line_22
^
..\..\..\boost/mpl/assert.hpp(60,75) : note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
# define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) BOOST_STATIC_CONSTANT(T,
expr)
^
..\..\..\boost/config/suffix.hpp(361,71) : note: expanded from macro
'BOOST_STATIC_CONSTANT'
# define BOOST_STATIC_CONSTANT(type, assignment) static const type
assignment
--------------------------------------------------------------------------------
and on and on. This sort of stuff is normally unnecessary.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs