Re: [Firebird-devel] Using of interfaces after last changes

2015-02-02 Thread Alex Peshkoff
On 01/30/15 22:01, Dimitry Sibiryakov wrote: 30.01.2015 17:53, Alex Peshkoff wrote: There are template envelopes at both sides. BTW, I think that this header should be split into two. It can speed up compilation. It can be split, but is speed of compilation really a problem?

Re: [Firebird-devel] Using of interfaces after last changes

2015-02-02 Thread Dimitry Sibiryakov
02.02.2015 12:00, Adriano dos Santos Fernandes wrote: So split the files manually and report the time differences. I see two times speed up for a module that uses Interfaces.h. 14k lines is a big bunch of -- WBR, SD.

Re: [Firebird-devel] build_msg infinite loop

2015-02-02 Thread Egor Pugin
Any other comments? On 31 January 2015 at 22:30, Egor Pugin egor.pu...@gmail.com wrote: Hi! build_msg -D msg.fdb -P ./ -F firebird.msg -L all when msg.fdb is absent will result in infinite loop. I have the simple fix - try to open specified file, but maybe someone has better solution.

Re: [Firebird-devel] build_msg infinite loop

2015-02-02 Thread Egor Pugin
Yes, build_file.epp/build_file.cpp of course. Sorry. On 2 February 2015 at 16:45, Dimitry Sibiryakov s...@ibphoenix.com wrote: 02.02.2015 13:44, Egor Pugin wrote: Any other comments? There is no build_msg.cpp file. If you have on mind build_file.cpp, then it just has a check for connect

[Firebird-devel] [FB-Tracker] Created: (CORE-4680) Possible deadlock in firebird connect.

2015-02-02 Thread Sascha Michel (JIRA)
Possible deadlock in firebird connect. -- Key: CORE-4680 URL: http://tracker.firebirdsql.org/browse/CORE-4680 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 3.0

Re: [Firebird-devel] build_msg infinite loop

2015-02-02 Thread Dimitry Sibiryakov
02.02.2015 13:44, Egor Pugin wrote: Any other comments? There is no build_msg.cpp file. If you have on mind build_file.cpp, then it just has a check for connect errors missed. Perhaps, it should be preprocessed with different gpre settings. -- WBR, SD.

Re: [Firebird-devel] Using of interfaces after last changes

2015-02-02 Thread Dimitry Sibiryakov
02.02.2015 12:28, Alex Peshkoff wrote: If it really helps you to build during 45 min instead 1.5 hours change does make sense. But what*HUGE* solution do you build? Firebird3 Somewhy I think you are not using computer on 486 CPU:) No, it is quite modern AMD A4-1250 1GHz. CPU is

Re: [Firebird-devel] Using of interfaces after last changes

2015-02-02 Thread Alex Peshkoff
On 02/02/15 14:35, Dimitry Sibiryakov wrote: 02.02.2015 12:28, Alex Peshkoff wrote: If it really helps you to build during 45 min instead 1.5 hours change does make sense. But what*HUGE* solution do you build? Firebird3 Somewhy I think you are not using computer on 486 CPU:)

Re: [Firebird-devel] Using of interfaces after last changes

2015-02-02 Thread Dimitry Sibiryakov
02.02.2015 12:58, Alex Peshkoff wrote: PS. Certainly I agree that for such builds splitting file makes sense, but I wanted to explain my initial POV. From any POV a header file which have 10k lines that aren't used is a mess. 99% of modules is using interfaces, not implementing them, so

Re: [Firebird-devel] Using of interfaces after last changes

2015-02-02 Thread Alex Peshkoff
On 01/30/15 21:33, Dimitry Sibiryakov wrote: 30.01.2015 18:59, Adriano dos Santos Fernandes wrote: It's not complete, for example, for Pascal. I.e. you have no idea how to transform you IDL to Pascal code, have you?.. As far as I can see simple examples are transformed to Pascal

Re: [Firebird-devel] Using of interfaces after last changes

2015-02-02 Thread Dimitry Sibiryakov
02.02.2015 11:48, Alex Peshkoff wrote: It can be split, but is speed of compilation really a problem? At my computer full build of solution takes about an hour and a half. Yes, this is a problem, especially because MSVC doesn't stop compilation after errors. -- WBR, SD.

Re: [Firebird-devel] Using of interfaces after last changes

2015-02-02 Thread Adriano dos Santos Fernandes
On 02/02/2015 08:53, Dimitry Sibiryakov wrote: 02.02.2015 11:48, Alex Peshkoff wrote: It can be split, but is speed of compilation really a problem? At my computer full build of solution takes about an hour and a half. Yes, this is a problem, especially because MSVC doesn't stop

Re: [Firebird-devel] Using of interfaces after last changes

2015-02-02 Thread Alex Peshkoff
On 02/02/15 14:04, Dimitry Sibiryakov wrote: 02.02.2015 12:00, Adriano dos Santos Fernandes wrote: So split the files manually and report the time differences. I see two times speed up for a module that uses Interfaces.h. 14k lines is a big bunch of If it really helps you to build

Re: [Firebird-devel] Using of interfaces after last changes

2015-02-02 Thread Adriano dos Santos Fernandes
On 02/02/2015 09:28, Alex Peshkoff wrote: On 02/02/15 14:04, Dimitry Sibiryakov wrote: 02.02.2015 12:00, Adriano dos Santos Fernandes wrote: So split the files manually and report the time differences. I see two times speed up for a module that uses Interfaces.h. 14k lines is a big bunch