Linking Libraries with Duplicate Class Names using GCC

前端 未结 4 814
野的像风
野的像风 2020-12-17 18:43

Is there a way for GCC to produce a warning while linking libraries that contain classes with the same name? For example

Port.h

class Port {         


        
4条回答
  •  爱一瞬间的悲伤
    2020-12-17 19:15

    I don't see any options to do what you want either. Maybe think laterally and use a code documentation tool like Doxygen to generate documentation for all your classes and manually look for duplicates

提交回复
热议问题