This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 255603 - Wrong invalid conversion message if format is string concatenation
Summary: Wrong invalid conversion message if format is string concatenation
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: danilasergeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-28 09:04 UTC by Alexander Simon
Modified: 2015-09-30 01:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-09-28 09:04:33 UTC
Code example:

#include <stdio.h>
#include <stdlib.h>
#define STRING_FORMAT "s"
int main(int argc, char** argv) {
    printf("Concatenation %"STRING_FORMAT" work", "does not"); // wrong message
    return (EXIT_SUCCESS);
}
Comment 1 danilasergeyev 2015-09-29 09:49:25 UTC
fixed, change set:
https://hg.netbeans.org/cnd-main/rev/33c0606f47ae
Comment 2 Quality Engineering 2015-09-30 01:19:47 UTC
Integrated into 'main-silver', will be available in build *201509300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/33c0606f47ae
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #255603 Wrong invalid conversion message if format is string concatenation