yujun777 opened a new pull request, #33451:
URL: https://github.com/apache/doris/pull/33451

   performance pipeline enable missing-field-initializers warning,  it cause 
compile fail:
   
   ```
   [13:27:42 
](http://43.132.222.7:8111/buildConfiguration/Doris_DorisPerformance_Performance/394851?buildTab=log&linesState=8981&logView=flowAware&focusLine=8981)
  In file included from /root/doris/be/src/io/fs/local_file_writer.cpp:42:
   [13:27:42 
](http://43.132.222.7:8111/buildConfiguration/Doris_DorisPerformance_Performance/394851?buildTab=log&linesState=8982&logView=flowAware&focusLine=8982)
  /root/doris/be/src/util/debug_points.h: In member function 'void 
doris::DebugPoints::add_with_params(const std::string&, const 
std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> 
>&)':
   [13:27:42 
](http://43.132.222.7:8111/buildConfiguration/Doris_DorisPerformance_Performance/394851?buildTab=log&linesState=8983&logView=flowAware&focusLine=8983)
  /root/doris/be/src/util/debug_points.h:159:79: error: missing initializer for 
member 'doris::DebugPoint::handler' [-Werror=missing-field-initializers]
   [13:27:42 
](http://43.132.222.7:8111/buildConfiguration/Doris_DorisPerformance_Performance/394851?buildTab=log&linesState=8984&logView=flowAware&focusLine=8984)
    159 |         add(name, std::shared_ptr<DebugPoint>(new DebugPoint {.params 
= params}));
   [13:27:42 
](http://43.132.222.7:8111/buildConfiguration/Doris_DorisPerformance_Performance/394851?buildTab=log&linesState=8985&logView=flowAware&focusLine=8985)
        |                                                                       
        ^
   [13:27:42 
](http://43.132.222.7:8111/buildConfiguration/Doris_DorisPerformance_Performance/394851?buildTab=log&linesState=8986&logView=flowAware&focusLine=8986)
  /root/doris/be/src/util/debug_points.h: In member function 'void 
doris::DebugPoints::add_with_handler(const std::string&, std::any)':
   [13:27:42 
](http://43.132.222.7:8111/buildConfiguration/Doris_DorisPerformance_Performance/394851?buildTab=log&linesState=8987&logView=flowAware&focusLine=8987)
  /root/doris/be/src/util/debug_points.h:167:81: error: missing initializer for 
member 'doris::DebugPoint::params' [-Werror=missing-field-initializers]
   [13:27:42 
](http://43.132.222.7:8111/buildConfiguration/Doris_DorisPerformance_Performance/394851?buildTab=log&linesState=8988&logView=flowAware&focusLine=8988)
    167 |         add(name, std::shared_ptr<DebugPoint>(new DebugPoint 
{.handler = handler}));
   [13:27:42 
](http://43.132.222.7:8111/buildConfiguration/Doris_DorisPerformance_Performance/394851?buildTab=log&linesState=8989&logView=flowAware&focusLine=8989)
        |                                                                       
          ^
   [13:27:42 
](http://43.132.222.7:8111/buildConfiguration/Doris_DorisPerformance_Performance/394851?buildTab=log&linesState=8990&logView=flowAware&focusLine=8990)
  cc1plus: all warnings being treated as errors
   [13:27:43 
](http://43.132.222.7:8111/buildConfiguration/Doris_DorisPerformance_Performance/394851?buildTab=log&linesState=8991&logView=flowAware&focusLine=8991)
  [572/1346] Building CXX object 
src/http/CMakeFiles/Webserver.dir/action/stream_load.cpp.o
   ```
   
   ## Proposed changes
   
   Issue Number: close #xxx
   
   <!--Describe your changes.-->
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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