zlib的TCompressionLevel冲突问题
定义了一个zlib的TCompressionLevel gggg;来设置zlib的压缩率,单独使用正常,当有某些控件时提示:
E2015 Ambiguity between 'Vcl::Imaging::Pngimage::TCompressionLevel' and 'System::Zlib::TCompressionLevel'
这个怎么解决?
[解决办法]
TCompressionLevel gggg
改为
Vcl::Imaging::Pngimage::TCompressionLevel gggg
或者
System::Zlib::TCompressionLevel gggg