Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
>
Examples of errors detected by the...

Examples of errors detected by the V1068 diagnostic

V1068. Do not define an unnamed namespace in a header file.


iSulad

V1068 Do not define an unnamed namespace in a header file. ws_server.h 33


namespace {
const int MAX_ECHO_PAYLOAD = 4096;
const int MAX_ARRAY_LEN = 2;
const int MAX_PROTOCOL_NUM = 2;
} // namespace

TDengine

V1068 Do not define an unnamed namespace in a header file. serialize.h 20


namespace ROCKSDB_NAMESPACE {
namespace cassandra {
namespace {
const int64_t kCharMask = 0xFFLL;
const int32_t kBitsPerByte = 8;
}  // namespace