bugDotGNU Portable.NET - Bugs: bug #6927, More functions pointers problems

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #6927: More functions pointers problems

Submitter:  James Michael DuPont <mdupont>
Submitted:  Tue 02 Dec 2003 06:40:47 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Mon 16 Feb 2004 11:42:52 PM UTC, comment #2: 

Fix committed to CVS - 17 Feb 2004.  Actually a 4-liner,
but trivial nontheless.

Rhys Weatherley <rweather>
Group administrator
Tue 02 Dec 2003 09:58:38 PM UTC, comment #1: 

Bug submission from banned contributor.  Closed without
considering it as per previously stated policy.

Seriously Michael, if you can't figure out how to fix
the above trivial syntax issue and submit a patch, we don't
want you here (it's a one-liner in the grammar).

Rhys Weatherley <rweather>
Group administrator
Tue 02 Dec 2003 06:40:47 PM UTC, original submission:  

Dear DotGnu Peoples,
i have started to use pnet/c again and have encountered some more problems with it. Herr are my bug reports :

typedef unsigned int size_t;
typedef int (compare_func_t)(const void , const void * );
void * p1;
size_t p2;
size_t p3a;
int baz( compare_func_t f);
int foo(register size_t p3);
compare_func_t a;
void sort_func_test (
     void *,
     size_t,
     register size_t, // <<---- test.c:14: syntax error, unexpected ',' at or near `,'
     compare_func_t
     );
typedef void (*sort_func_t)(
    void *,
    size_t,
    register size_t,  // <<----//test.c:20: syntax error, unexpected ',' at or near `,'
    compare_func_t );


/*
Bug Report :
cscc version 0.6.1

The error message are :

test.c:12: syntax error, unexpected ',' at or near `,'
test.c:18: syntax error, unexpected ',' at or near `,'
stdin:1: syntax error, unexpected ':', expecting '{'

This compiles fine in gcc.
*/

James Michael DuPont <mdupont>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-02-16 rweather StatusInvalid Fixed
2003-12-02 rweather StatusNone Invalid
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code