Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken on i386: no type named 'success' in 'nest::StaticAssert<false>'; did you mean 'StaticAssert<true>::success'? #1205

Closed
yurivict opened this issue May 18, 2019 · 2 comments
Assignees
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: High Should be handled next T: Bug Wrong statements in the code or documentation ZC: Kernel DO NOT USE THIS LABEL ZP: Pending DO NOT USE THIS LABEL

Comments

@yurivict
Copy link

See the log: http://beefy5.nyi.freebsd.org/data/120i386-default/501758/logs/nest-2.16.0.log

/wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/source.h:43:17: warning: width of bit-field 'gid_' (62 bits) exceeds the width of its type; value will be truncated to 32 bits [-Wbitfield-width]
  unsigned long gid_ : 62; //!< gid of source
                ^
/wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/source.h:47:62: warning: implicit conversion from 'long long' to 'const size_t' (aka 'const unsigned int') changes value from 4611686018427387903 to 4294967295 [-Wconstant-conversion]
  static const size_t disabled_marker_ = 4611686018427387904 - 1; // 2 ** 62 - 1
                      ~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~^~~
In file included from /wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/models/iaf_cond_exp_sfa_rr.cpp:24:
In file included from /wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/models/iaf_cond_exp_sfa_rr.h:38:
In file included from /wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/connection.h:29:
In file included from /wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/connector_base_impl.h:26:
In file included from /wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/kernel_manager.h:27:
In file included from /wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/connection_manager.h:41:
In file included from /wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/source_table.h:35:
In file included from /wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/mpi_manager.h:49:
In file included from /wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/target_data.h:32:
/wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/target.h:48:42: warning: implicit conversion from 'long long' to 'const unsigned long' changes value from 140737354137600 to 4160749568 [-Wconstant-conversion]
  static const unsigned long rank_mask = 0x00007FFFF8000000;
                             ~~~~~~~~~   ^~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/target.h:49:41: warning: implicit conversion from 'long long' to 'const unsigned long' changes value from 143974450587500544 to 0 [-Wconstant-conversion]
  static const unsigned long tid_mask = 0x01FF800000000000;
                             ~~~~~~~~   ^~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/target.h:50:44: warning: implicit conversion from 'long long' to 'const unsigned long' changes value from 9079256848778919936 to 0 [-Wconstant-conversion]
  static const unsigned long syn_id_mask = 0x7E00000000000000;
                             ~~~~~~~~~~~   ^~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/target.h:51:47: warning: implicit conversion from 'unsigned long long' to 'const unsigned long' changes value from 9223372036854775808 to 0 [-Wconstant-conversion]
  static const unsigned long processed_mask = 0x8000000000000000;
                             ~~~~~~~~~~~~~~   ^~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/target.h:135:9: error: no type named 'success' in 'nest::StaticAssert<false>'; did you mean 'StaticAssert<true>::success'?
typedef StaticAssert< sizeof( Target ) == 8 >::success success_target_size;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        StaticAssert<true>::success
/wrkdirs/usr/ports/science/nest/work/nest-simulator-2.16.0/nestkernel/static_assert.h:53:10: note: 'StaticAssert<true>::success' declared here
  struct success
         ^
@terhorstd terhorstd added ZC: Kernel DO NOT USE THIS LABEL I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) ZP: Pending DO NOT USE THIS LABEL S: High Should be handled next T: Bug Wrong statements in the code or documentation labels Jun 3, 2019
@gtrensch
Copy link
Contributor

Your FreeBSD version is 32-bit. NEST had some 32-bit compatibility issues. These are fixed in the current version of NEST. Please can you retry with NEST 2.18?

@heplesser
Copy link
Contributor

Closing due to lack of user response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: High Should be handled next T: Bug Wrong statements in the code or documentation ZC: Kernel DO NOT USE THIS LABEL ZP: Pending DO NOT USE THIS LABEL
Projects
None yet
Development

No branches or pull requests

4 participants