[fpc-pascal] CRT unit and Windows' terminal

2017-10-12 Thread Mr Bee via fpc-pascal
Hi, I want to create console app that's using box drawing characters from unicode. Before CRT unit is used, it's all fine and my program could draw table beautifully. But once I put CRT unit, those characters became garbages. But strangely, it's only happen on Windows' terminal (win10). I tried

[fpc-pascal] Getting reason for failure with SendToRaw()

2017-10-12 Thread James Richters
I'm using SendToRaw() from a console application to send an email back to myself with attachments to aid in technical support. It always works find when I send the mail to myself. I run SendToRaw() a second time with my customers email address instead of mine so I can go over things with them,

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Ryan Joseph
Reported at https://bugs.freepascal.org/view.php?id=32538. I didn’t say much but I think that should be enough. Thanks. > On Oct 12, 2017, at 7:22 PM, Sven Barth via fpc-pascal > wrote: > > Wow, okay, that's a nasty one O.o Considering that the

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Sven Barth via fpc-pascal
Am 12.10.2017 13:59 schrieb "Ryan Joseph" : > > > > > On Oct 12, 2017, at 5:35 PM, Michael Van Canneyt wrote: > > > > Normally not :) > > > > What Sven wanted to ascertain was why you get this error, which is totally abnormal. > > Ok did some

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Ryan Joseph
> On Oct 12, 2017, at 5:35 PM, Michael Van Canneyt > wrote: > > Normally not :) > > What Sven wanted to ascertain was why you get this error, which is totally > abnormal. Ok did some tests and here’s an example of how to reproduce it. It’s the name “system” which

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Michael Van Canneyt
On Thu, 12 Oct 2017, Ryan Joseph wrote: On Oct 12, 2017, at 4:19 PM, Sven Barth via fpc-pascal wrote: Could you try whether a test program with an abstract method that you call compiles correctly? Thanks that was the tip I needed. That unit had an

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Sven Barth via fpc-pascal
Am 12.10.2017 10:37 schrieb "Ryan Joseph" : > > > > > On Oct 12, 2017, at 12:59 PM, Sven Barth via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > > > > AbstractError() is the name of the function the compiler uses to replace abstract methods with (so that they

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Ryan Joseph
> On Oct 12, 2017, at 12:59 PM, Sven Barth via fpc-pascal > wrote: > > AbstractError() is the name of the function the compiler uses to replace > abstract methods with (so that they generate an exception when called). Thus > something very strange is going

Re: [fpc-pascal] Resource compilation

2017-10-12 Thread Martok
Am 11.10.2017 um 11:24 schrieb Sven Barth via fpc-pascal: > The point of our own resource compiler would be to avoid external > dependencies. True. And having a general-purpose preprocessor would come in useful anyway. Fun fact: windres also just calls gcc, which is probably why we deploy it:

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Sven Barth via fpc-pascal
Am 12.10.2017 04:34 schrieb "Ryan Joseph" : > > I just built the ppcx64 trunk version 3.1.1 so I could try the memory management operator overloads we talked about but I’m getting a compiler error in my project that doesn’t make sense. > > On the last line of one unit