https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Another issue with glibc trunk: The definition of __res_state moved from
resolv.h to bits/types/res_state.h:

/home/markus/llvm/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc: In function
‘int __tsan::ExtractResolvFDs(void*, int*, int)’:                               
/home/markus/llvm/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc:292:16:
error: ‘statp’ was not declared in this scope                                   
   __res_state *statp = (__res_state*)state;                                    
                ^~~~~                       
/home/markus/llvm/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc:292:16: note:
suggested alternative: ‘state’                                                  
   __res_state *statp = (__res_state*)state;                                    
                ^~~~~                       
                state                       
/home/markus/llvm/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc:292:37:
error: expected primary-expression before ‘)’ token                             
   __res_state *statp = (__res_state*)state;                                    
                                     ^

Reply via email to