"Unknown" already defined when compiling with C++Builder

Last reviewed: 6/10/2000

PRB Article ID: P060003

The information in this article applies to:

  • SpeechKit 2.1

Symptoms

When compiling an application that uses speech recognition, a compile error occurs indicating the "Unknown" is already defined.

Cause

The MicrophoneTypes list includes "Unknown" as one of microphone types in the chant.h header and some other include file already defines it.

Status

Fixed in SpeechKit 2.1.2. Unknown renamed to UnknownMic in chant.h.