| To: | <pro64-support@xxxxxxxxxxx> |
|---|---|
| Subject: | invalid use of void expression |
| From: | "Darin Petkov" <darin@xxxxxxxxxxxxx> |
| Date: | Tue, 20 Mar 2001 14:21:19 -0800 |
| Importance: | Normal |
| Sender: | owner-pro64-support@xxxxxxxxxxx |
Hello,
I am getting an error from the sgicc's front-end on this program:
#include <stdio.h>
typedef void my_void;
my_void blah (int i) {
printf("%d\n",i);
return;
}
main () {
blah(3);
}
> sgicc void.c
void.c: In function `main':
void.c:11: invalid use of void expression
> uname -a
Linux heart 2.2.16-3 #1 Mon Jun 19 19:11:44 EDT 2000 ia64 unknown
> sgicc -version
SGIcc Compilers: Version 0.01.0-12
Anybody have a fix?
Thanks,
Darin
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | A question on feedback in the Pro64, A. Cameron Macdonell |
|---|---|
| Next by Date: | question on -tr(s)17 ~ -tr(s)21, Peng Zhao |
| Previous by Thread: | A question on feedback in the Pro64, A. Cameron Macdonell |
| Next by Thread: | question on -tr(s)17 ~ -tr(s)21, Peng Zhao |
| Indexes: | [Date] [Thread] [Top] [All Lists] |