www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Compiler error

reply Alexandr Druzhinin <drug2004 bk.ru> writes:
during building I get:
Assertion failure: 'alignment > 0 && !(alignment & (alignment - 1))' on 
line 239
  in file 'struct.c'

abnormal program termination

what should I do to help us to catch this?
May 06 2013
parent reply "Maxim Fomin" <maxim maxim-fomin.ru> writes:
On Monday, 6 May 2013 at 16:37:18 UTC, Alexandr Druzhinin wrote:
 during building I get:
 Assertion failure: 'alignment > 0 && !(alignment & (alignment - 
 1))' on line 239
  in file 'struct.c'

 abnormal program termination

 what should I do to help us to catch this?
1) search or report to bugzilla 2) debug dmd 3) fix sources 4) prepare pull request
May 06 2013
parent reply Alexandr Druzhinin <drug2004 bk.ru> writes:
07.05.2013 0:39, Maxim Fomin пишет:
 On Monday, 6 May 2013 at 16:37:18 UTC, Alexandr Druzhinin wrote:
 during building I get:
 Assertion failure: 'alignment > 0 && !(alignment & (alignment - 1))'
 on line 239
  in file 'struct.c'

 abnormal program termination

 what should I do to help us to catch this?
1) search or report to bugzilla 2) debug dmd 3) fix sources 4) prepare pull request
Честно сказать, я не в курсе как искать в багзилле - все баги такие разные. Думал, тут все за меня сейчас решат. ;) Понял, будем работать...
May 06 2013
parent reply "Maxim Fomin" <maxim maxim-fomin.ru> writes:
On Monday, 6 May 2013 at 17:48:58 UTC, Alexandr Druzhinin wrote:
 07.05.2013 0:39, Maxim Fomin пишет:
 On Monday, 6 May 2013 at 16:37:18 UTC, Alexandr Druzhinin 
 wrote:
 during building I get:
 Assertion failure: 'alignment > 0 && !(alignment & (alignment 
 - 1))'
 on line 239
 in file 'struct.c'

 abnormal program termination

 what should I do to help us to catch this?
1) search or report to bugzilla 2) debug dmd 3) fix sources 4) prepare pull request
Честно сказать, я не в курсе как искать в багзилле - все баги такие разные. Думал, тут все за меня сейчас решат. ;) Понял, будем работать...
понятно :) Issue 8612 and 8710 looks like your case. Please post there your reduced code. http://d.puremagic.com/issues/show_bug.cgi?id=8612
May 06 2013
parent reply Alexandr Druzhinin <drug2004 bk.ru> writes:
07.05.2013 1:40, Maxim Fomin пишет:
 On Monday, 6 May 2013 at 17:48:58 UTC, Alexandr Druzhinin wrote:
 07.05.2013 0:39, Maxim Fomin пишет:
 On Monday, 6 May 2013 at 16:37:18 UTC, Alexandr Druzhinin wrote:
 during building I get:
 Assertion failure: 'alignment > 0 && !(alignment & (alignment - 1))'
 on line 239
 in file 'struct.c'

 abnormal program termination

 what should I do to help us to catch this?
1) search or report to bugzilla 2) debug dmd 3) fix sources 4) prepare pull request
Честно сказать, я не в курсе как искать в багзилле - все баги такие разные. Думал, тут все за меня сейчас решат. ;) Понял, будем работать...
понятно :) Issue 8612 and 8710 looks like your case. Please post there your reduced code. http://d.puremagic.com/issues/show_bug.cgi?id=8612
it looks like 8612 but unfortunatly I found that the error appearance depends on command line arguments - if I compile the file with "reduced code" without other files of the project it compiles, but with the files - it fails. :(
May 06 2013
parent Alexandr Druzhinin <drug2004 bk.ru> writes:
07.05.2013 8:55, Alexandr Druzhinin пишет:
 07.05.2013 1:40, Maxim Fomin пишет:
 On Monday, 6 May 2013 at 17:48:58 UTC, Alexandr Druzhinin wrote:
 07.05.2013 0:39, Maxim Fomin пишет:
 On Monday, 6 May 2013 at 16:37:18 UTC, Alexandr Druzhinin wrote:
 during building I get:
 Assertion failure: 'alignment > 0 && !(alignment & (alignment - 1))'
 on line 239
 in file 'struct.c'

 abnormal program termination

 what should I do to help us to catch this?
1) search or report to bugzilla 2) debug dmd 3) fix sources 4) prepare pull request
Честно сказать, я не в курсе как искать в багзилле - все баги такие разные. Думал, тут все за меня сейчас решат. ;) Понял, будем работать...
понятно :) Issue 8612 and 8710 looks like your case. Please post there your reduced code. http://d.puremagic.com/issues/show_bug.cgi?id=8612
it looks like 8612 but unfortunatly I found that the error appearance depends on command line arguments - if I compile the file with "reduced code" without other files of the project it compiles, but with the files - it fails. :(
I forgot to mention that the these other files don't need for the reduced code compiling, but nevertheless bug is affected by these files.
May 06 2013