[LLVMbugs] [Bug 19780] New: error when a template struct with two parameters is used in a macro
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun May 18 06:48:56 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19780
Bug ID: 19780
Summary: error when a template struct with two parameters is
used in a macro
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: calixte.denizet at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 12536
--> http://llvm.org/bugs/attachment.cgi?id=12536&action=edit
Test file
When I try to compile, I get:
plop.cpp:11:21: error: too many arguments provided to function-like macro
invocation
macro(plop<int, int>::n);
^
plop.cpp:1:9: note: macro 'macro' defined here
#define macro(x)
^
plop.cpp:11:5: error: use of undeclared identifier 'macro'
macro(plop<int, int>::n);
I encountered the bug with assert macro.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140518/35bcc1a5/attachment.html>
More information about the llvm-bugs
mailing list