Realm-cocoa: New Warnings from C++ Compiler

Created on 30 May 2018  路  2Comments  路  Source: realm/realm-cocoa

When I build version 3.6.0 of realm-swift for iOS I get a compiler warning that wasn't there in version 3.5.0.

In sync_session.cpp line 545 there is a switch statement that isn't exhaustive.

    switch (static_cast<ClientError>(error_code.value())) {

Enumeration values 'connect_timeout' and 'bad_timestamp' not handled in switch.

O-Community T-Internal

Most helpful comment

Nothing to worry about, but it will be fixed.

All 2 comments

Nothing to worry about, but it will be fixed.

Fixed

Was this page helpful?
0 / 5 - 0 ratings