The optnone attribute, used in PS-3767 is ignored by gcc. This only results in a warning in release/relwithdebinfo mode, and this attirbute is only used in rocksdb, which resulted in the CI builds passing with this warnings (travis didn't built rocksdb, jenkins ignores warnings in release builds).