[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #6927] More functions pointers problems
From: |
James Michael DuPont |
Subject: |
[Pnet-developers] [bugs #6927] More functions pointers problems |
Date: |
Tue, 02 Dec 2003 13:40:47 -0500 |
User-agent: |
Opera/6.1 (Linux 2.4.18-bf2.4 i586; U) [en] |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[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 19:40
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Assigned to: None
Status: Open
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.
*/
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/
- [Pnet-developers] [bugs #6927] More functions pointers problems,
James Michael DuPont <=