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 195235 - line 473:41: expecting RPAREN, found '(' in messages.log
Summary: line 473:41: expecting RPAREN, found '(' in messages.log
Status: VERIFIED DUPLICATE of bug 197997
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: nnnnnk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-09 12:54 UTC by soldatov
Modified: 2011-06-01 10:26 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 soldatov 2011-02-09 12:54:48 UTC
On MacOSX machine I see such message in messages.log if some #include is added:
line 473:41: expecting RPAREN, found '('
line 473:41: expecting RPAREN, found '('
line 473:41: expecting RPAREN, found '('
line 473:41: expecting RPAREN, found '('
line 473:41: expecting RPAREN, found '('
line 473:41: expecting RPAREN, found '('
line 473:41: expecting RPAREN, found '('

g++ -E main.cpp > test.cpp creates file with 2 unresolved identifiers

# 89 "/usr/include/mach/i386/_structs.h" 3 4
struct __darwin_fp_control
{
    unsigned short __invalid :1,
        __denorm :1,
    __zdiv :1,
    __ovrfl :1,
    __undfl :1,
    __precis :1,
      :2,
    __pc :2,
    __rc :2,
             :1,
      :3;
};
typedef struct __darwin_fp_control __darwin_fp_control_t;
# 147 "/usr/include/mach/i386/_structs.h" 3 4

int main(int argc, char** argv) {

    return 0;
}
Comment 1 nnnnnk 2011-02-11 15:15:17 UTC
I think here is 2 issues.
Created another bug for unnamed bit sets:
https://netbeans.org/bugzilla/show_bug.cgi?id=195338
Comment 2 nnnnnk 2011-02-11 15:27:43 UTC
I guess it's duplicate of https://netbeans.org/bugzilla/show_bug.cgi?id=195276
Comment 3 nnnnnk 2011-02-14 11:48:25 UTC

*** This bug has been marked as a duplicate of bug 195276 ***
Comment 4 Alexander Simon 2011-02-14 14:00:37 UTC
command
g++ -E main.cpp > test.cpp
creates file without include directives.
So it cannot duplicate Bug #195276.
Comment 5 nnnnnk 2011-02-14 15:53:26 UTC
There is no problems in preprocessed file.

*** This bug has been marked as a duplicate of bug 195276 ***
Comment 6 soldatov 2011-02-28 11:25:38 UTC
same log in NetBeans Platform Dev (Build 201102250001)
Comment 7 nnnnnk 2011-05-20 17:06:34 UTC

*** This bug has been marked as a duplicate of bug 197997 ***
Comment 8 soldatov 2011-06-01 10:26:45 UTC
verified in 201105310001 build