View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005840 | ardour | bugs | public | 2014-01-26 06:08 | 2020-04-19 20:16 |
| Reporter | davidqo | Assigned To | x42 | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0005840: affectx.h error: redefinition of typedef ‘VstTimeInfo’ | ||||
| Description | Build with key --windows-vst enabled fails due extra typedef in affectx.h. Cloned from this repo: git://git.ardour.org/ardour/ardour.git | ||||
| Additional Information | In file included from /home/davidqo/Build/Git/ardour/libs/ardour/ardour/vst_types.h:23:0, from ../libs/fst/fst.h:8, from ../libs/fst/fstinfofile.c:1: /home/davidqo/Build/Git/ardour/libs/ardour/ardour/vestige/aeffectx.h:273:29: error: redefinition of typedef ‘VstTimeInfo’ /home/davidqo/Build/Git/ardour/libs/ardour/ardour/vestige/aeffectx.h:271:3: note: previous declaration of ‘VstTimeInfo’ was here In file included from ../libs/fst/fstinfofile.c:1:0: ../libs/fst/fst.h:36:1: warning: function declaration isn’t a prototype In file included from /home/davidqo/Build/Git/ardour/libs/ardour/ardour/vst_types.h:23:0, from ../libs/fst/fst.h:8, from ../libs/fst/fst.c:4: /home/davidqo/Build/Git/ardour/libs/ardour/ardour/vestige/aeffectx.h:273:29: error: redefinition of typedef ‘VstTimeInfo’ /home/davidqo/Build/Git/ardour/libs/ardour/ardour/vestige/aeffectx.h:271:3: note: previous declaration of ‘VstTimeInfo’ was here In file included from ../libs/fst/fst.c:4:0: ../libs/fst/fst.h:36:1: warning: function declaration isn’t a prototype ../libs/fst/fst.c:19:1: warning: no previous prototype for ‘default_fst_error_callback’ winegcc: gcc-4.5 failed winegcc: gcc-4.5 failed //the reason is the code below: typedef struct _VstTimeInfo { /* info from online documentation of VST provided by Steinberg */ double samplePos; double sampleRate; double nanoSeconds; double ppqPos; double tempo; double barStartPos; double cycleStartPos; double cycleEndPos; int32_t timeSigNumerator; int32_t timeSigDenominator; int32_t smpteOffset; int32_t smpteFrameRate; int32_t samplesToNextClock; int32_t flags; } VstTimeInfo; typedef struct _VstTimeInfo VstTimeInfo; //possibly you should exclude second typedef, because without it all builds fine. I think that it duplicates first definition. | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-01-26 06:08 | davidqo | New Issue | |
| 2014-01-26 18:21 | x42 | Note Added: 0015623 | |
| 2014-01-26 18:21 | x42 | Status | new => resolved |
| 2014-01-26 18:21 | x42 | Resolution | open => fixed |
| 2014-01-26 18:21 | x42 | Assigned To | => x42 |
| 2020-04-19 20:16 | system | Note Added: 0023301 | |
| 2020-04-19 20:16 | system | Status | resolved => closed |