Coder Social home page Coder Social logo

aisparse's People

Contributors

leihui6 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aisparse's Issues

vdm_parse_code 中函数未定义

int convert_to_strascii(const char * _str, size_t _before_count, size_t _count, std::string & _dst, size_t _len);
函数声明了未定义

convert_to_hexdecimal 报错error: invalid conversion from ‘int’ to ‘const char*’

swig编译时报错

> python3 setup.py build_ext --inplace
....
vdm_parse_core.cpp: In function ‘int convert_to_hexdecimal(char*, size_t, size_t, char*, size_t)’:
vdm_parse_core.cpp:109:43: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
   _snprintf_s(&_dst[i], 1, 1, "%X", result);
                                           ^
In file included from /usr/include/features.h:364:0,
                 from /usr/include/x86_64-linux-gnu/c++/6/bits/os_defines.h:39,
                 from /usr/include/x86_64-linux-gnu/c++/6/bits/c++config.h:502,
                 from /usr/include/c++/6/cstdio:41,
                 from vdm_parse_core.h:14,
                 from vdm_parse_core.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note:   initializing argument 3 of ‘int snprintf(char*, size_t, const char*, ...)’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
vdm_parse_core.cpp:112:38: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
   _snprintf_s(&_dst[i], 1, 1, "%X", 0);
                                      ^
In file included from /usr/include/features.h:364:0,
                 from /usr/include/x86_64-linux-gnu/c++/6/bits/os_defines.h:39,
                 from /usr/include/x86_64-linux-gnu/c++/6/bits/c++config.h:502,
                 from /usr/include/c++/6/cstdio:41,
                 from vdm_parse_core.h:14,
                 from vdm_parse_core.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note:   initializing argument 3 of ‘int snprintf(char*, size_t, const char*, ...)’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
vdm_parse_core.cpp:113:3: error: ‘d’ was not declared in this scope
  }d
   ^

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.