..\mcTalker.cpp:26: error: 'va_list' was not declared in this scope
..\mcTalker.cpp:26: error: expected `;' before 'argp'
..\mcTalker.cpp:27: error: 'argp' was not declared in this scope
..\mcTalker.cpp:27: error: 'va_start' was not declared in this scope
i would suspect that your include path doesn't have everything
you need, i.e., the directory that has stdarg.h in it.
to verify, add
#include <stdarg.h>
and see if you get a complie error on not being able to find the file.
if so, then add that directory.
// **||*************************************************************
//
// debug use only
//
void zprintf(char *fmt,...)
// **||*************************************************************
{
int i,j;
if (cZDebug)
{
It sounds like you may not know how to add an include directory path in Eclipse for GCC. In a blog entry on getting started with NetBurner I have a screencast that goes through the process at about the 1:45 point. It is showing how to include the sim5270.h file so you'll just need to do what's shown there but navigate to the include directory that has the .h file you are interested in.
There is also a written description of the process (and how to make it so all projects include a particular directory) on the wiki entry on moving to C++.
[EDIT]
I would think the one (and only) directory you want to include for stdarg.h is
c:\nburn\gcc-m68k\lib\gcc\m68k-elf\4.2.1\include\stdarg.h
This assumes the 4.2.1 release of the gnu toolchain.