- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[cpp]#include <stdio.h>
template<typename... A>
void foo(const char *fmt, A... a) {
printf(fmt, a...);
}
int main() {
foo("%d %d %d", 0, 0, 0);
}[/cpp]
Produces:
remark #869: parameter "a" was never referenced
Why? And too strange:
[cpp] foo("%d %d", 0, 0);[/cpp]
Does not produces this remark.
I'm uses ICC 13 update 1 on windows.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bert,
This issue has already been raised and has been escalated to the development team. I would update you as soon as the issue is fixed.
The similar issue is been recorded at http://software.intel.com/en-us/forums/topic/345355 .
Regards,
Sukruth H V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bert,
This issue would be fixed in the next major release after 15.0. I would update you as soon as the fixed version is available for download.
Regards,
Sukruth H V

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page