[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #6927] More functions pointers problems
From: |
Rhys Weatherley |
Subject: |
[Pnet-developers] [bugs #6927] More functions pointers problems |
Date: |
Mon, 16 Feb 2004 18:42:55 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #6927] Latest Modifications:
Changes by:
Rhys Weatherley <address@hidden>
'Date:
Mon 02/16/04 at 23:42 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | Invalid | Fixed
------------------ Additional Follow-up Comments ----------------------------
Fix committed to CVS - 17 Feb 2004. Actually a 4-liner,
but trivial nontheless.
/**************************************************************************/
[bugs #6927] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=6927>
Project: DotGNU Portable.NET
Submitted by: James Michael DuPont
On: Tue 12/02/03 at 18:40
Category: None
Severity: 5 - Average
Item Group: None
Resolution: Fixed
Assigned to: None
Status: Closed
Summary: More functions pointers problems
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.
*/
Follow-up Comments
------------------
-------------------------------------------------------
Date: Mon 02/16/04 at 23:42 By: rweather
Fix committed to CVS - 17 Feb 2004. Actually a 4-liner,
but trivial nontheless.
-------------------------------------------------------
Date: Tue 12/02/03 at 21:58 By: rweather
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).
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=6927>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [bugs #6927] More functions pointers problems,
Rhys Weatherley <=