Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) bzconfig.h: Unknown compiler

 

Compile error.

 

 

 

 

Full error message

 

[C++ Fatal Error] bzconfig.h(48): F1003 Error directive: Unknown compiler

 

 

 

 

 

Cause

 

IDE: C++ Builder 6.0

Compiler: Borland BCC32.EXE version 6.0.10.157

Blitz++ version: 0.9

Project type: Console Application

 

#include <blitz/array.h>

int main()
{

}

 

The compiler will show you the code of blitz/bzconfig.h:

 

#if defined(__APPLE)
/* IBM xlc compiler for Darwin */
#include <blitz/apple/bzconfig.h>
 
#elif defined(__ICC)
/* Intel icc compiler */
#include <blitz/intel/bzconfig.h>
 
//Other compilers
 
#else
#error Unknown compiler //THIS LINE
#endif

 

 

 

 

 

Solution

 

Use a compiler that Blitz++ supports.

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict