I must be missing something incredibly obvious here, but I can't find
out what it is... I'm trying to build a very simple test program for
LuaD, right now it simply imports the library. But it throws a linker
error for some reason. Here's the program I'm trying to compile:
import std.stdio;
On Tue, Jul 26, 2011 at 2:02 AM, Dainius (GreatEmerald)
past...@gmail.comwrote:
I must be missing something incredibly obvious here, but I can't find
out what it is... I'm trying to build a very simple test program for
LuaD, right now it simply imports the library. But it throws a linker
Hmm, apparently it requires a strict compilation order. If I just add
all .d files in no particular order, I get lots of linker errors, for
example:
LuaTest.o: In function
`_D4luad4base9LuaObject9checkTypeFPT4luad1c3lua9lua_StateiiPxaZv':
Andrew Wiley wiley.andre...@gmail.com wrote in message
news:mailman.1914.1311673246.14074.digitalmars-d-le...@puremagic.com...
On Tue, Jul 26, 2011 at 2:02 AM, Dainius (GreatEmerald)
past...@gmail.comwrote:
I must be missing something incredibly obvious here, but I can't find
out what it
Hi
I'm trying to overload the + and - operators for a struct but I get
this error
test.d(47): Error: incompatible types for ((v1) - (v2)): 'Vecf!(1u)' and
'Vecf!(1u)'
(the line corresponds to the last assert)
doing something like this
struct Vecf(uint n)
{
...
Vecf!n opBinary(string
I updated the DMD and tried RDMD, but still no luck. Linker errors
galore. You can see all of them here: http://pastebin.com/C6cRVGKt
On Tue, 26 Jul 2011 13:06:56 +0200, Dainius (GreatEmerald)
past...@gmail.com wrote:
I updated the DMD and tried RDMD, but still no luck. Linker errors
galore. You can see all of them here: http://pastebin.com/C6cRVGKt
You need to link the library as well, try adding -L-llua (I think) to the
Ah, that did the trick, thanks!
I compiled a test for LuaD a few days ago without problems.
I think you need to link to the lua library
On Tue, Jul 26, 2011 at 8:06 AM, Dainius (GreatEmerald)
past...@gmail.comwrote:
I updated the DMD and tried RDMD, but still no luck. Linker errors
galore. You can see all of them here:
Hi,
isn't that the way it's supposed to work? I mean
void show(int a) { writeln(a); }
void main() { show(null); }
won't compile either.
Shouldn't bar be some kind of pointer?
btw, today I read opAssign can no longer be overloaded for class objects
here:
Diego Canuhé:
I'm trying to overload the + and - operators for a struct but I get
this error
test.d(47): Error: incompatible types for ((v1) - (v2)): 'Vecf!(1u)' and
'Vecf!(1u)'
(the line corresponds to the last assert)
It's a dmd bug, and I think it's already in Bugzilla. This is
thanks!
On Tue, Jul 26, 2011 at 9:12 AM, bearophile bearophileh...@lycos.comwrote:
Diego Canuhé:
I'm trying to overload the + and - operators for a struct but I get
this error
test.d(47): Error: incompatible types for ((v1) - (v2)): 'Vecf!(1u)' and
'Vecf!(1u)'
(the line
On Tue, 26 Jul 2011 07:54:54 -0400, Diego Canuhé canuh...@gmail.com
wrote:
Hi,
isn't that the way it's supposed to work? I mean
void show(int a) { writeln(a); }
void main() { show(null); }
won't compile either.
Shouldn't bar be some kind of pointer?
null should be considered as the type
Am 23.07.2011 17:10, schrieb Mafi:
I'm trying to rebuild my projects with new dmd and after fixing some
minor issues in my code I get the following:
Warning: As of Phobos 2.054, std.file.listDir has been scheduled for
deprecation in August 2011. Please use std.file.dirEntries instead.
OPTLINK
I've just added default: assert(0) on the switches, but I got an error
I don't know how to solve:
tabcontrol.d(18): Error: class dfl.tabcontrol.TabPage use of
dfl.control.Control.opEquals(Control ctrl) hidden by TabPage is deprecated
Any ideas? The best would of course be if the maintainer
simendsjo:
I've just added default: assert(0) on the switches, but I got an error
I don't know how to solve:
See:
http://d.puremagic.com/issues/show_bug.cgi?id=6373
Bye,
bearophile
On Mon, 25 Jul 2011 11:25:17 -0400, Steven Schveighoffer
schvei...@yahoo.com wrote:
Please file a 'rejects-valid' bug.
http://d.puremagic.com/issues/show_bug.cgi?id=6385
simendsjo Wrote:
I've just added default: assert(0) on the switches, but I got an error
I don't know how to solve:
tabcontrol.d(18): Error: class dfl.tabcontrol.TabPage use of
dfl.control.Control.opEquals(Control ctrl) hidden by TabPage is deprecated
Any ideas? The best would of course
Jesse Phillips Wrote:
I just made a pull request to fix this in the unofficial repo. But
Bearophile's alias is probably the correct solution.
Forgot to give you the quick link: https://github.com/Rayerd/dfl/pull/3
Pelle pelle.mans...@gmail.com wrote in message
news:op.vy74cwejzu79i9@pelle-d2608-a1...
On Tue, 26 Jul 2011 13:06:56 +0200, Dainius (GreatEmerald)
past...@gmail.com wrote:
I updated the DMD and tried RDMD, but still no luck. Linker errors
galore. You can see all of them here:
On 7/26/11, Nick Sabalausky a@a.a wrote:
Pelle pelle.mans...@gmail.com wrote in message
news:op.vy74cwejzu79i9@pelle-d2608-a1...
On Tue, 26 Jul 2011 13:06:56 +0200, Dainius (GreatEmerald)
past...@gmail.com wrote:
I updated the DMD and tried RDMD, but still no luck. Linker errors
galore. You
On 26.07.2011 20:49, Jesse Phillips wrote:
Jesse Phillips Wrote:
I just made a pull request to fix this in the unofficial repo. But Bearophile's
alias is probably the correct solution.
Forgot to give you the quick link: https://github.com/Rayerd/dfl/pull/3
!? Now I'm a bit lost. It says
On Tue, 26 Jul 2011 22:22:39 +0200, simendsjo wrote:
On 26.07.2011 20:49, Jesse Phillips wrote:
Jesse Phillips Wrote:
I just made a pull request to fix this in the unofficial repo. But
Bearophile's alias is probably the correct solution.
Forgot to give you the quick link:
23 matches
Mail list logo