Giter Site home page Giter Site logo

wahern / hexdump Goto Github PK

View Code? Open in Web Editor NEW
88.0 9.0 31.0 109 KB

hexdump.c: Single file C library implementation of the BSD command-line utility

Home Page: http://25thandclement.com/~william/projects/hexdump.c.html

C 57.20% Shell 37.68% Makefile 5.12%

hexdump's Issues

Building with Visual Studio 2019

When building hexdump.c in VS 2019, I experience this problem with the FC macro.
Annotation 2019-11-05 222229
Please see attached screen dump.
Any advice is appreciated.
Kind regards
Jes Holm

Add support for floating points formats

Hi,

we just discovered that ubuntu 19.10 (and maybe earlier versions too?) includes this version of hexdump and it does not support floating point formats for the output (we use it a lot, but with BSD hexdump)

Do you plan to add it in the futur?

Thanks,

Eric

Compilation error: argument ‘_fmt’ might be clobbered by ‘longjmp’

I ran into compilation issue when compiling hexdump from git ( commit
8b5a375 )
os: ubuntu 14.04
compiler: gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2

$ make -f Makefile hexdump
cc -std=c99 -g -O2 -Wall -Wextra -Werror -Wno-unused-variable -Wno-unused-parameter -o hexdump hexdump.c  -DHEXDUMP_MAIN
hexdump.c: In function ‘hxd_compile’:
hexdump.c:1338:48: error: argument ‘_fmt’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
 int hxd_compile(struct hexdump *X, const char *_fmt, int flags) {
                                                ^
cc1: all warnings being treated as errors
make: *** [hexdump] Error 1

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.