dabao085 opened a new pull request, #1937:
URL: https://github.com/apache/incubator-brpc/pull/1937

   I encountered a problem about compiling brpc on Centos7.9 by using 
config_brpc.sh, for example:
   ```
   src/bvar/variable.cpp:923:46: error: '::google' has not been declared
    const bool ALLOW_UNUSED dummy_mbvar_dump = ::google::RegisterFlagValidator(
                                                 ^~~~~~
   src/bvar/variable.cpp:925:53: error: '::google' has not been declared
    const bool ALLOW_UNUSED dummy_mbvar_dump_prefix = 
::google::RegisterFlagValidator(
                                                        ^~~~~~
   src/bvar/variable.cpp:927:50: error: '::google' has not been declared
    const bool ALLOW_UNUSED dump_mbvar_dump_file = 
::google::RegisterFlagValidator(
                                                     ^~~~~~
   src/bvar/variable.cpp:943:53: error: '::google' has not been declared
    const bool ALLOW_UNUSED dummy_mbvar_dump_format = 
::google::RegisterFlagValidator(
   ```
   Fix: Replace `::google::RegisterFlagValidator` with 
`::GFLAGS_NS::RegisterFlagValidator`.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to