Package: ncc
Version: 2.7-3
Severity: normal

nccgen does not accept the following code ncc-bug.c:
        int main(int argc, char **argv) {
                char const *qqq = "?????" + 5;
        }

(It's based on the format_match() function in gnumeric's source code -
http://svn.gnome.org/viewvc/gnumeric/trunk/src/number-match.c?revision=16749&view=markup
 )

"nccgen ncc-bug.c" results in
        Invoked: nccgen ncc-bug.c 
        Running: gcc -E -D__NCC__ -imacros /usr/include/nognu ncc-bug.c 
        Opening preprocessed file NCC.i
        4 lines
        ncc-error unaccaptable declaration, separator; --> [+]
        ncc-bug.c (1): syntax error:"int main ( int argc , char * * argv ) { 
char
        const * qqq = "?????" + 5 ; "

        D: main()
whereas gcc accept the code just fine.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing-proposed-updates'), (500, 
'stable'), (400, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26.5 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ncc depends on:
ii  libc6                     2.7-13         GNU C Library: Shared libraries
ii  libgcc1                   1:4.3.2-1      GCC support library
ii  libncurses5               5.6+20080913-1 shared libraries for terminal hand
ii  libstdc++6                4.3.2-1        The GNU Standard C++ Library v3

ncc recommends no packages.

ncc suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to