Unale to link C++ applications with the new TIBCO Enterprise Message Service 4.4.0 (TIBCO EMS) C libraries

Unale to link C++ applications with the new TIBCO Enterprise Message Service 4.4.0 (TIBCO EMS) C libraries

book

Article ID: KB0090896

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Description:
Symptoms
========

Getting errors while linking C++ applications with the new TIBCO EMS 4.4.0 C libraries. The error message would be something like:

fatal error C1075: end of file found before the left brace '{' at '$PATH\emserr.h(17)' was matched


Impact
======

Loss of Functionality


Workaround
==========

Modify the file emserr.h located in &ltEMS_INSTALL>/clients/c/include/tibems directory.

Change line 38 from:

#ifdef _cplusplus

to

#ifdef __cplusplus

(note the double underscore character instead of the single one in the original file)


Cause
=====

This typo is causing linking problems for C++ applications only.


Resolution
=========

This has been fixed in TIBCO Enterprise Message Service 4.4.1
Symptoms:

Cause:

Issue/Introduction

Unale to link C++ applications with the new TIBCO Enterprise Message Service 4.4.0 (TIBCO EMS) C libraries