calavera opened a new issue #6895: URL: https://github.com/apache/trafficserver/issues/6895
[The fix for Ubuntu 16](https://github.com/apache/trafficserver/pull/6875) seems to break building TrafficServer on Ubuntu 20, with gcc and clang, as far as I can tell. I don't know why that change was made since there is no issue associated to the PR. This is the error I get compiling on Ubuntu 20.04: ``` ink_res_init.cc:97:3: error: excess elements in scalar initializer {HOST_RES_PREFER_IPV4, HOST_RES_PREFER_IPV6, HOST_RES_PREFER_NONE}}; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. ``` These are the commands I run: ``` ./configure CXXFLAGS=-std=c++17 CC=clang CXX=clang++ make ``` I've tried with Clang 10, Clang 9 and GCC 9.3.0. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
