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 255083 - printf() and typedef pointer
Summary: printf() and typedef pointer
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC All
: P3 normal (vote)
Assignee: danilasergeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-08 09:31 UTC by danilasergeyev
Modified: 2015-09-09 01:22 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 danilasergeyev 2015-09-08 09:31:20 UTC
#include <stdio.h>
#include <stddef.h>

typedef char gchar;

int main() {
    gchar *text = "test";
    printf("%s", text);  // error
    
    return 0;
}
Comment 1 danilasergeyev 2015-09-08 10:32:50 UTC
fixed in change set:
https://hg.netbeans.org/cnd-main/rev/17d5384fab45
Comment 2 Quality Engineering 2015-09-09 01:22:46 UTC
Integrated into 'main-silver', will be available in build *201509090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/17d5384fab45
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #255083 printf() and typedef pointer