/[svn]/linuxsampler/trunk/src/common/global_private.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/global_private.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2599 by schoenebeck, Sun Sep 15 17:55:56 2013 UTC revision 2600 by schoenebeck, Sat Jun 7 00:16:03 2014 UTC
# Line 57  typedef int16_t sample_t; Line 57  typedef int16_t sample_t;
57  typedef float v4sf __attribute__ ((vector_size(16)));  typedef float v4sf __attribute__ ((vector_size(16)));
58  #endif  #endif
59    
60    // circumvents a bug in GCC 4.x which causes a sizeof() expression applied
61    // on a class member to throw a compiler error, i.e. with GCC 4.4:
62    // "object missing in reference to 'LinuxSampler::AbstractEngineChannel::ControllerTable'")
63    // or with GCC 4.0:
64    // "invalid use of non-static data member 'LinuxSampler::AbstractEngineChannel::ControllerTable'"
65    #define _MEMBER_SIZEOF(T_Class, Member) sizeof(((T_Class*)NULL)->Member)
66    
67  /**  /**
68   * Whether a function / method call was successful, or if warnings or even an   * Whether a function / method call was successful, or if warnings or even an
69   * error occured.   * error occured.

Legend:
Removed from v.2599  
changed lines
  Added in v.2600

  ViewVC Help
Powered by ViewVC