I get this too in ver. 3.6.12. An align-pointer=name has no effect on e.g. this: protected: virtual void DoDataExchange (CDataExchange* pDX); DECLARE_MESSAGE_MAP() I want virtual void DoDataExchange (CDataExchange *pDX); but astyle does not make it so.
Or: #if defined(__BORLANDC__) && 0 // For Embacadero support if (::gmtime_s(&t, &atm) == 0) ptm = nullptr; #else if (::gmtime_s(&atm, &t) != 0) ptm = nullptr; #endif But how about a correct fix? There must be a correct way to detect this Embacadero compiler.
I'm trying to learn CBuilder (from Embarcadero) and tried the Animation.cbproj sample. With this command: msbuild -p:Configuration=Release -p:platform=Win64 Animation.cbproj it builds and runs fine. But this: msbuild -p:Configuration=Release -p:platform=Win64x Animation.cbproj gives these errors: wxx_time.h(236,24): error E3390: cannot initialize a parameter of type 'struct tm ' with an rvalue of type 'time_t ' (aka 'long long *') if (::gmtime_s(&t, &atm) == 0) ^~ wxx_time.h(258,27): error E3390:...
Assert in 'ASResource.cpp'
But there are other issues. Partly due to a recent Hamlib commit. Attached are my diffs. Missing using namespace std;, std::high_resolution::to_time_t() etc. etc.
Ok, I've fixed that. It now compiles, but running DreamConsole --test 1, it aborts on a sample-rate of 96000. In SoapyRTLSdr/settings.cpp: throw std::runtime_error("setSampleRate failed: RTL-SDR does not support this sample rate"); And Dream.exe crashes at start-up: class CUpstreamDI : public CReceiverModul<_BINARY, _BINARY> , public CPacketSink { public: CUpstreamDI(); virtual ~CUpstreamDI(); /* CRSIMDIInInterface */ bool SetOrigin(const std::string& strAddr); bool GetInEnabled() {return source...
Have you been able to install Soapy itself? Sure. And there areIMHO too many #ifdef tests in this ollie branch; * A test for HAVE_LIBZis superflous. zlib is required. * Seems to me SoapySDR is required too.
I'm struggling to compile this project with the qmake generated Nmake-files. E.g. this error seems related to a missing USE_SOAPY: src\sound\soundinterfacefactory.cpp(89): error C2259: 'CSoundInMMSystem': cannot instantiate abstract class windows/Sound.h(54): note: see declaration of 'CSoundInMMSystem' src\sound\soundinterfacefactory.cpp(89): note: due to following members: src\sound\soundinterfacefactory.cpp(89): note: 'bool CSoundInInterface::Read(CVector<short> &,CParameter &)': is abstract sound\soundinterface.h(44):...