Giter Club home page Giter Club logo

huffman_encoder_decoder's Introduction


github stats from the starting point

Top Langs

huffman_encoder_decoder's People

Contributors

levongh avatar

Watchers

 avatar  avatar

huffman_encoder_decoder's Issues

getting -Werror=format-overflow error with new compiler

HuffmanTree.cpp:40:6: error: ‘__builtin___sprintf_chk’ writing a terminating nul past the end of the destination [-Werror=format-overflow=]
void HuffmanTree::print(Node* node, int level) const
^~~~~~~~~~~
In file included from /usr/include/stdio.h:862:0,
from /usr/include/c++/7/cstdio:42,
from /usr/include/c++/7/ext/string_conversions.h:43,
from /usr/include/c++/7/bits/basic_string.h:6361,
from /usr/include/c++/7/string:52,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/iomanip:40,
from HuffmanTree.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:43: note: ‘__builtin___sprintf_chk’ output 2 bytes into a destination of size 1
__bos (__s), __fmt, __va_arg_pack ());
^
HuffmanTree.cpp: In member function ‘std::__cxx11::string HuffmanTree::printChar(Node*) const’:
HuffmanTree.cpp:132:13: error: ‘__builtin___sprintf_chk’ writing a terminating nul past the end of the destination [-Werror=format-overflow=]
std::string HuffmanTree::printChar(Node* node) const
^~~~~~~~~~~
In file included from /usr/include/stdio.h:862:0,
from /usr/include/c++/7/cstdio:42,
from /usr/include/c++/7/ext/string_conversions.h:43,
from /usr/include/c++/7/bits/basic_string.h:6361,
from /usr/include/c++/7/string:52,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/iomanip:40,
from HuffmanTree.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:43: note: ‘__builtin___sprintf_chk’ output 2 bytes into a destination of size 1
__bos (__s), __fmt, __va_arg_pack ());

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.