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

Submitted by:  James Michael DuPont <mdupont>
Submitted on:  Tue 02 Dec 2003 06:40:47 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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>
Project 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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 16 Feb 2004 11:42:52 PM UTCrweatherStatusInvalid=>Fixed
Tue 02 Dec 2003 09:58:38 PM UTCrweatherStatusNone=>Invalid
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1