Comments (5)
/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.
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.
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.
Was this fixed? I can't even remember what was done or not done :)
from calypso.
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)
- Major blocker: DMD bogus forward and circular reference errors. HOT 1
- Rebase for LLVM 6 support HOT 3
- Please define project status HOT 3
- Linking to opencv issue.
- Windows binaries HOT 2
- Error building clang-7 branch
- Would this work with binderoo?
- Is there a Calypso forum or chatroom?
- Using-declaration in C++ not understood by Calypso HOT 2
- Global operators not working HOT 2
- ICE on string assignment to QSharedMemory HOT 1
- Cannot use D struct/class in QList HOT 3
- Cannot assign to QJsonObject HOT 1
- Cannot compare QStrings for equality HOT 2
- Linking Calypso fails HOT 2
- foreach over C++ iterator HOT 1
- Assertion `int_regs + sse_regs <= 2' failed HOT 1
- Header included multiple times with pragma once HOT 1
- Document compilation from scratch HOT 1
- Running `basics` test fails with "Global is external, but doesn't have external or weak linkage!" and "Alias must point to a definition"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calypso.