smj wrote:
There, fixed that for you.
Thnak yuo. Mai typng iz awefull
foetz wrote:vishnu wrote: Now hacking out the accursed variadic macros one by one
why? mipspro does support c99.
to be sure i just ran a quick test and used one from the gcc(!) examples - it worked
Trippynet wrote: Biggie for me would be (limited) support for CSS. Neko Dillo doesn't support CSS at all I believe, whereas Dillo 3 does have basic support. And anything that improves rendering of pages without the speed penalties of modern browsers gets a thumbs-up from me!
Code: Select all
cc-1020 CC: ERROR File = /usr/include/inttypes.h, Line = 188
The identifier "va_list" is undefined.
Code: Select all
cc-1047 CC: WARNING File = /usr/include/varargs.h, Line = 154
Macro "va_arg" (declared at line 126 of "/usr/include/stdarg.h") has an
incompatible redefinition.
# define va_arg(vp,mode) ((mode *)(void *)__VA_STACK_ARG(vp,mode))[-1]
foetz wrote: could it be that the dillo guys included varargs and stdarg?
either way inttypes should be included at some later point but i'll check mine just in case ...
Code: Select all
#include <stdio.h>
#include <inttypes.h>
int main()
{
printf("sizeof uintmax_t is");
printf("%5d\n", sizeof(uintmax_t));
return 0;
}
Code: Select all
#include <iostream>
#include <inttypes.h>
int main()
{
using std::cout;
using std::endl;
cout << "size of uintmax_t is " << sizeof(uintmax_t) << endl;
return 0;
}
vishnu wrote: I'm getting system header errors, could somebody kindly do me the favor of checking what version of /usr/include/inttypes.h you have? Mine says:
Module: inttypes.h
$Revision: 1.4 $
$Date: 1998/06/23 00:38:11 $
It's failing with:
Code: Select all
cc-1020 CC: ERROR File = /usr/include/inttypes.h, Line = 188
The identifier "va_list" is undefined.
va_list is defined in varargs.h but that won't compile either:
Code: Select all
cc-1020 CC: ERROR File = /usr/include/inttypes.h, Line = 188
The identifier "va_list" is undefined.
extern int i_vfprintf ( FILE *stream, const char *format, va_list va );
vishnu wrote: This is weird, I can compile my own C code that includes inttypes.h, it doesn't complain about it at all, but the C++ compiler pukes all over it.
The C code is:
...
The C++ code is:
...
Code: Select all
* Module: inttypes.h
* $Revision: 1.6 $
* $Date: 2002/09/10 02:57:20 $
foetz wrote:vishnu wrote: This is weird, I can compile my own C code that includes inttypes.h, it doesn't complain about it at all, but the C++ compiler pukes all over it.
The C code is:
...
The C++ code is:
...
i just tried both examples and i'm afraid your installation is indeed messed up. both examples compiled fine here.
my inttypes.h says:
Code: Select all
* Module: inttypes.h
* $Revision: 1.6 $
* $Date: 2002/09/10 02:57:20 $
seems like a reinstall of your dev stuff would be a good idea
Yes, they included some mips pro related fixes for vishnu. It is and was easy to compile dillo3 with gcc on Irix. It compiles without any serious warnings, but the result doesn't work and I would be very surprised if this will be different with mips pro:ibara wrote: Heads up: a new version of Dillo was released yesterday and one of the headlines is "fixed compilation on irix"