GithubHelp home page GithubHelp logo

Comments (5)

Syniurge avatar Syniurge commented on July 30, 2024

/usr/include/x86_64-linux-gnu/sys/stat.h(209): Error: function cpp.core.sys.posix.sys.stat.stat conflicts with static import cpp.core.sys.posix.sys.stat.stat at /usr/include/x86_64-linux-gnu/bits/stat.h(46)

Weird, will look into it tonight, I don't know which change triggered the error, but I still don't know why the error wasn't there in the first place either.

The Qt demo also isn't compiling for me

It worked for me with Qt 5.5 before the push. However about 10 days ago during the first run when the PCH was generated compilation would fail, but then re-running the compilation would make it succeed. I haven't investigated this issue yet. It only happened with the Qt demo for some reason.

from calypso.

Syniurge avatar Syniurge commented on July 30, 2024

So the « stat » conflict seems to be gone for good with 015d23e and the Qt demo compiles on the first try for me.

Could you run gdb, wait for the crash, go into _#_3 cpp::FuncDeclaration::semantic and paste the result of:

print toPrettyChars(true)
print loc.toChars()
print type->toChars()

from calypso.

wilsonk avatar wilsonk commented on July 30, 2024

Ok. Here is what I got:

Program received signal SIGSEGV, Segmentation fault.
cpp::FuncDeclaration::semantic (this=0x439f1c80, sc=0x439f2240) at /home/wilsonk/Downloads/Calypso/dmd2/cpp/cppdeclaration.cpp:220
220         inst->syntaxCopy(this);
(gdb) print toPrettyChars(true)
$2 = 0x439f36b0 "cpp._.qSwap!(cpp.QByteArray.QByteArray).qSwap"
(gdb) print loc.toChars()
$3 = 0x439f3770 "/usr/include/qt5/QtCore/./qglobal.h(794)"
(gdb) print type->toChars()
$4 = 0x439f3900 "void(ref T value1, ref T value2)"

Hopefully that helps :)

from calypso.

Syniurge avatar Syniurge commented on July 30, 2024

Was this fixed? I can't even remember what was done or not done :)

from calypso.

wilsonk avatar wilsonk commented on July 30, 2024

This seems to have been fixed. I don't remember, off hand, what fixed it either but it seems ok now.

from calypso.

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.