www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Auto-testing issue on FreeBSD

reply Jeremy DeHaan <dehaan.jeremiah gmail.com> writes:
Hey All. I'm trying to track down an auto-tester failure on 
FreeBSD, so I decided to run the same tests myself locally. I 
encountered the following error:

runnable/extra-files/cppb.cpp:297:37: error: 'va_list' has not 
been declared
  void myvprintfx(const char* format, va_list);

I added #include <cstdarg> to the file, and then everything ran 
fine. Should I have set up my system differently so that I didn't 
need to edit anything or should this be added to the file anyway?

    Jeremy
Aug 20 2016
next sibling parent Kai Nacke <kai redstar.de> writes:
On Saturday, 20 August 2016 at 17:23:38 UTC, Jeremy DeHaan wrote:
 Hey All. I'm trying to track down an auto-tester failure on 
 FreeBSD, so I decided to run the same tests myself locally. I 
 encountered the following error:

 runnable/extra-files/cppb.cpp:297:37: error: 'va_list' has not 
 been declared
  void myvprintfx(const char* format, va_list);

 I added #include <cstdarg> to the file, and then everything ran 
 fine. Should I have set up my system differently so that I 
 didn't need to edit anything or should this be added to the 
 file anyway?

    Jeremy
The error occurs on my system, too, when I run gcc -c cppb.cpp by hand. IMHO the file needs to be updated. Kai
Aug 20 2016
prev sibling parent Jeremy DeHaan <dehaan.jeremiah gmail.com> writes:
I apologize as this might be better in the learn section, but I'm 
having another issue trying to run tests on FreeBSD. On a 64 bit 
system (tests ran just fine on a 32 bit system) I'm getting this 
error on the first test ran:

Running runnable tests
  ... runnable/issue8671.d           (-inline -release -g -O -fPIC)
Error: module  is in file '.d' which cannot be read

Any idea what's going on here? I've never seen anything like this 
before.
Aug 20 2016