Giter VIP home page Giter VIP logo

Comments (8)

taca avatar taca commented on August 24, 2024 1

Some curses implements WINDOW as opaque data, so it may not be dereferenced.

from curses.

chdiza avatar chdiza commented on August 24, 2024

Bisection shows:

d2b5c10dd22bd59f3dd71474b1db53785bbb3748 is the first bad commit
commit d2b5c10dd22bd59f3dd71474b1db53785bbb3748
Author: Shugo Maeda <[email protected]>
Date:   Mon Apr 8 22:14:47 2019 +0900

    Add Curses::Form and Curses::Field

from curses.

hsbt avatar hsbt commented on August 24, 2024

I did reproduce it with Ruby 2.7.0-dev.

from curses.

shugo avatar shugo commented on August 24, 2024

Sorry for inconvenience.
I'll fix it in the same way as DBM_SIZEOF_DBM of ext/dbm.

from curses.

shugo avatar shugo commented on August 24, 2024

I've fixed it in #49. Could someone try it on macOS?

from curses.

chdiza avatar chdiza commented on August 24, 2024

I just tried the fix. Here's what I did. I applied the patch for that PR to my clone and did bundle; rake compile.

It appears to have compiled but it spews some warnings:

compiling ../../../../ext/curses/curses.c
../../../../ext/curses/curses.c:218:1: warning: function 'no_window' could be
      declared with attribute 'noreturn' [-Wmissing-noreturn]
{
^
../../../../ext/curses/curses.c:1444:1: warning: function 'no_mevent' could be
      declared with attribute 'noreturn' [-Wmissing-noreturn]
{
^
../../../../ext/curses/curses.c:3711:1: warning: function 'no_field' could be
      declared with attribute 'noreturn' [-Wmissing-noreturn]
{
^
../../../../ext/curses/curses.c:4157:1: warning: function 'no_form' could be
      declared with attribute 'noreturn' [-Wmissing-noreturn]
{
^
4 warnings generated.

from curses.

shugo avatar shugo commented on August 24, 2024

Thank you I've fixed it.

from curses.

chdiza avatar chdiza commented on August 24, 2024

Great, thanks!

from curses.

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.