#55 fix for Clang in debug mode (reported by Xavier Warin on the mailing list)

v1.0 (example)
open
nobody
None
5
2014-06-03
2013-10-23
Sylwester Arabas
No

Not to forget, I'm posting below a message from the mailing list.
Sylwester

Dear all,

In order to compiler with Clang (version 3.2) in debug mode only, one include is missing
in expr.h :

ifndef BZ_EXPR_H

define BZ_EXPR_H

include <blitz prettyprint.h="">

include <blitz shapecheck.h="">

include <blitz numinquire.h="">

include <blitz array="" domain.h="">

include <blitz array="" slice.h="">

include <blitz bounds.h="">

include <blitz tv2fastiter.h="">

I think it should be added.
Sincerely yours

Xavier Warin

Discussion

  • trontrytel
    trontrytel
    2013-11-07

    thanks a lot! Reading this really helped me.

     
  • I'm reposting as the formatting got crazy:

    Dear all,

    In order to compiler with Clang (version 3.2) in debug mode only, one include is missing
    in expr.h :

    #ifndef BZ_EXPR_H
    #define BZ_EXPR_H
    
    #include <blitz/prettyprint.h>
    #include <blitz/shapecheck.h>
    #include <blitz/numinquire.h>
    #include <blitz/array/domain.h>
    #include <blitz/array/slice.h>
    #include <blitz/bounds.h>
    #include <blitz/tv2fastiter.h>
    

    I think it should be added.
    Sincerely yours

    Xavier Warin