Skip to content

Poco::Util::Application VxWorks main is incorrect #3763

@spencerjcoward

Description

@spencerjcoward

Describe the bug
A clear and concise description of what the bug is.

The POCO_APP_MAIN macro in the Application class resolves to the incorrect version for VxWorks RTPs. The program fails to link, due to the macro using int pocoAppMain(const char* appName, ...) \ version, this is supposed to be used in a kernel context.

To Reproduce
Steps to reproduce the behavior. If feasible, please provide a SSCCE - usually, it will make the process much easier and faster.

In order to reproduce, try to compile a simple Poco::Util::Application as an RTP for VxWorks

Expected behavior
A clear and concise description of what you expected to happen.

The program compiles and links correctly.

Logs
If applicable, add logs to help explain your problem.

N/A

Screenshots
If applicable, add screenshots to help explain your problem.

N/A

Please add relevant environment information:

  • OS Type and Version
  • POCO Version
  • Third-party product (eg. database or library) type and version

OS: VxWorks 7 Workbench SR660
POCO: Latest

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions