Skip to content

printf used in src/streaming/MessageBuilder.cpp line 190, stdio.h not robustly included. #200

@robbak

Description

@robbak

When building the new 1.2.0 on my FreeBSD box (gcc49 was used), the build failed with 'printf not declared in this scope.' There is a single random use of printf in the middle of this file. Should there be? Random printfs in the middle of files doesn't sound like best practice to me.

Either way, stdio.h should be more robustly included, or the printf use should be replaced with a call to the proper logging function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions