Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 147987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T08:52:41+00:00 2026-05-11T08:52:41+00:00

Please look at the following file: (it is a complete file) #ifndef TEES_ALGORITHM_LIBRARY_WRAPPER_H #define

  • 0

Please look at the following file: (it is a complete file)

#ifndef TEES_ALGORITHM_LIBRARY_WRAPPER_H #define TEES_ALGORITHM_LIBRARY_WRAPPER_H  #ifdef _TEES_COMPILE_AS_LIB #include <dfa\Includes\DFC_algorithms.hpp> #include <DFA\FuzzyClassifier\FuzzyAlgorithmIntialization\InitFuzzyAlgorithm.hpp> typedef teesalgorithm::tees_fuzzy_algorithms algorithms_switchyard_class; #else #include <DFA\Includes\commercial_algorithms.hpp> //An incomplete class to hide implementation class algorithms_switchyard_class; #endif  class AlgorithmLibraryWrapper { algorithms_switchyard_class * algorithmPtr_;  typedef teesalgorithm::tees_paramObj paramObj_type; typedef teesalgorithm::tees_errorObj errorObj_type;   typedef teesalgorithm::tees_statusObj statusObj_type; typedef teesalgorithm::tees_dataObj dataObj_type; typedef teesalgorithm::tees_outputObj outputObj_type;  public:  AlgorithmLibraryWrapper(const std::string& sAlgName, paramObj_type& paramObj,     errorObj_type& errObj, statusObj_type& statusObj, const char* sFilePath); static bool dataReader(const std::string& sFileName, dataObj_type& dataObj,     errorObj_type& errObj, statusObj_type& statusObj); bool runalgorithm(const dataObj_type& dataObj, outputObj_type& outObj, errorObj_type& errObj, statusObj_type& statusObj);  ~AlgorithmLibraryWrapper();  };   #ifdef _TEES_USE_COMPILED_ALGORITHM_LIB #   ifdef _MSC_VER     #if _MSC_VER < 1400  // If VC 2003         #ifdef _DEBUG             #error No AlgorithmLibWrapper libraries compiled for this version of VC         #else             #error No AlgorithmLibWrapper libraries compiled for this version of VC         #endif     #elif defined(UNDER_CE)  // Win CE         #ifdef _DEBUG             #pragma comment( lib, 'AlgorithmLibWrapperCEd' )         #else             #pragma comment( lib, 'AlgorithmLibWrapperCE' )         #endif     #else  // If VC 2005         #ifdef _DEBUG             #pragma comment( lib, 'AlgorithmLibWrapperd' )         #else             #pragma comment( lib, 'AlgorithmLibWrapper' )         #endif     #endif #endif  #endif   #endif //TEES_ALGORITHM_LIBRARY_WRAPPER_H 

I am getting the following errors; I don’t know why. I manually counted the preprocessor directives also.

AlgorithmLibraryWrapper.hpp:10:1: unterminated #ifdef
AlgorithmLibraryWrapper.hpp:7:1: unterminated #ifndef

I am using the poor vxWorks gcc compiler. Please let me know if the fault is mine or the compiler’s.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T08:52:41+00:00Added an answer on May 11, 2026 at 8:52 am

    It could be that the problem is in the included files (if there actually are unbalaced #if/#endifs.

    I would try preprocessing with another compiler. You can use gcc for that, doesn’t matter it wouldn’t compile. Just get gcc (or MinGW if you’re on Windows) and run

    cpp -Iinclude_direcories your_file 

    Or, if you don’t like gcc, get MSVC Express edition. Again, you can preprocess code that even doesn’t compile, so no problem with nonworking library etc.

    Most compilers have an option that will give you the output from the preprocessor so you can check what it’s doing. For example,

    gcc -E file.c >file.preproc 

    will give you the pre-processed source so you can check the balancing of #if against #endif.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 152k
  • Answers 152k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The key for Googling is "multi-pattern" string matching. Back in… May 12, 2026 at 10:05 am
  • Editorial Team
    Editorial Team added an answer I recommend using OpenID, see here for more -- just… May 12, 2026 at 10:05 am
  • Editorial Team
    Editorial Team added an answer Pretty much any JSON library will have a too much… May 12, 2026 at 10:05 am

Related Questions

I am creating my own custom T4 Template that integrates with an ADO.NET Entity
I'm working on adding a feature to an old classic asp site and ran
I use IIS web server 7.5 on Windows 7 for hosting my project. I
I am developing a solution for transfering data from android phone to the server

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.