Skip to content

clang >= 3.7 incompatibility #119

@konserw

Description

@konserw

Hello,
I've just noticed 2 problems when compiling with clang version 3.8.1 on GNU/Linux (most probably problem exists for clang >= 3.7 both on Linux and MAC)

  • WireProtocols test are generating such warning:
    expression with side effects will be evaluated despite being used as an operand to 'typeid'
    on lines where EXPECT_PTRTYPE macro is used
  • SocketServer tests are failing with some exception:
    The following tests FAILED: 21 - SocketServerTest.exitsOnFirstConnectionClosed (OTHER_FAULT) 22 - SocketServerTest.moreThanOneClientCanConnect (OTHER_FAULT) 23 - SocketServerTest.receiveAndSendsSingleLineMassages (OTHER_FAULT)

Those 2 issues may or may not be connected with each other. Everything works perfectly fine using gcc 6.1.1 and of course on our CI builds.

I'm not sure how to fix that, but please let me know if I can help with this ;)

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