GithubHelp home page GithubHelp logo

Improve portability about c-edit HOT 3 OPEN

velorek1 avatar velorek1 commented on July 19, 2024
Improve portability

from c-edit.

Comments (3)

velorek1 avatar velorek1 commented on July 19, 2024

Interesting, I didn't know about this. I'll look into it and see what I can do.
Also, feel free to modify it yourself if you feel like doing it.
Thank you for your comment!

from c-edit.

catafest avatar catafest commented on July 19, 2024

I try to build with make on Fedora 33 :

[mythcat@desk src]$ make
cc -Wall -Wextra -fsigned-char    -c -o main.o main.c
cc -Wall -Wextra -fsigned-char    -c -o rterm.o rterm.c
cc -Wall -Wextra -fsigned-char    -c -o listc.o listc.c
cc -Wall -Wextra -fsigned-char    -c -o scbuf.o scbuf.c
cc -Wall -Wextra -fsigned-char    -c -o opfile.o opfile.c
cc -Wall -Wextra -fsigned-char    -c -o uintf.o uintf.c
cc -Wall -Wextra -fsigned-char    -c -o fileb.o fileb.c
cc -Wall -Wextra -fsigned-char    -c -o keyb.o keyb.c
cc -Wall -Wextra -fsigned-char    -c -o tm.o tm.c
cc  -o cedit main.o rterm.o listc.o scbuf.o opfile.o uintf.o fileb.o keyb.o tm.o 
/bin/ld: scbuf.o:(.bss+0x30): multiple definition of `rows'; main.o:(.bss+0x112aa30): first defined here
/bin/ld: scbuf.o:(.bss+0x34): multiple definition of `columns'; main.o:(.bss+0x112aa34): first defined here
collect2: error: ld returned 1 exit status

[mythcat@desk src]$ make -v
GNU Make 4.3
Built for x86_64-redhat-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

from c-edit.

velorek1 avatar velorek1 commented on July 19, 2024

I see, I've changed some variable names to avoid these conflicts.
It should work fine now.
(Mind due, it is still a demo version)
Thank you for letting me know.

from c-edit.

Related Issues (4)

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.