Skip to content

C++ library uses stout for error instead of stderr #59

@KevinCCucumber

Description

@KevinCCucumber

When testing the outputs, I experienced a bug where an error would be printed into the std output instead of the error output.
I found it by chance in the latest diff:

std::cout << "[ERROR (pya2l.A2LParser)] " << "Invalid param: " << parameter.get_name() << " -- " << token->toString() << std::endl;

Additionally, I have the error "enumeration 'Type' must be one of......." printed in the stdout:

image

I don't know where this gets imported or what other error cases are related here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions