Git Product home page Git Product logo

Comments (3)

zhengshuxin avatar zhengshuxin commented on May 25, 2024

Acl中在记日志时为了获取调用函数的信息,所以使用变参宠系列 logger_xxx,有可能会与第三方的类似函数发生冲突。解决方法有两个:一是将 Acl 库的头文件与其它库的头分开,避免冲突,二是在编译时增加编译条件定义ACL_LOGGER_MACRO_OFF,或在引用 Acl 头文件前面增加『#define ACL_LOGGER_MACRO_OFF』,这个ACL_LOGGER_MACRO_OFF是刚刚添加的,你可以试试。

from acl.

AECCCK avatar AECCCK commented on May 25, 2024

解決了!謝謝!
期間遇到個問題是預定義了ACL_LOGGER_MACRO_OFF以後,log.hpp文件中的logger_test1函數因爲沒有#define logger報錯,後來手動把logger_test1注釋掉才編譯通過的

from acl.

zhengshuxin avatar zhengshuxin commented on May 25, 2024

谢谢,logger_test1, logger_test2 也加进去了。

from acl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.