kopia lustrzana https://github.com/Hamlib/Hamlib
gcc 3.x fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1283 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.4
rodzic
3497d098a5
commit
6340c43f2d
|
@ -1,4 +1,4 @@
|
|||
/* $Id: rig_dll.h,v 1.5 2001-12-19 03:37:07 fillods Exp $ */
|
||||
/* $Id: rig_dll.h,v 1.6 2002-11-14 19:27:34 fillods Exp $ */
|
||||
|
||||
|
||||
/*
|
||||
|
@ -18,8 +18,8 @@
|
|||
# undef HAMLIB_IMPEXP
|
||||
# undef BACKEND_IMPEXP
|
||||
# undef HAMLIB_API
|
||||
# undef HAMLIB_EXPORT(type)
|
||||
# undef HAMLIB_EXPORT_VAR(type)
|
||||
# undef HAMLIB_EXPORT
|
||||
# undef HAMLIB_EXPORT_VAR
|
||||
# if defined(HAMLIB_DLL) && defined(IN_HAMLIB)
|
||||
/* building a DLL */
|
||||
# define HAMLIB_IMPEXP __declspec(dllexport)
|
||||
|
@ -44,8 +44,8 @@
|
|||
|
||||
|
||||
#if defined(__CYGWIN__)
|
||||
# undef BACKEND_EXPORT_VAR(type)
|
||||
# undef HAMLIB_EXPORT_VAR(type)
|
||||
# undef BACKEND_EXPORT_VAR
|
||||
# undef HAMLIB_EXPORT_VAR
|
||||
# ifdef DLL_EXPORT
|
||||
# ifdef IN_HAMLIB
|
||||
# define BACKEND_EXPORT_VAR(type) __declspec(dllexport) type
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* Hamlib C++ bindings - API header
|
||||
* Copyright (c) 2001-2002 by Stephane Fillod
|
||||
*
|
||||
* $Id: rigclass.h,v 1.11 2002-09-22 11:41:49 fillods Exp $
|
||||
* $Id: rigclass.h,v 1.12 2002-11-14 19:27:35 fillods Exp $
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Library General Public License as
|
||||
|
@ -24,7 +24,7 @@
|
|||
#define _RIGCLASS_H 1
|
||||
|
||||
#include <hamlib/rig.h>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
||||
class BACKEND_IMPEXP Rig {
|
||||
|
@ -246,7 +246,7 @@ public:
|
|||
{};
|
||||
|
||||
void print() const {
|
||||
cerr << "Rig exception: " << message << endl;
|
||||
std::cerr << "Rig exception: " << message << std::endl;
|
||||
}
|
||||
virtual const char *classname() const {
|
||||
return "Rig";
|
||||
|
@ -264,7 +264,7 @@ inline void THROW(const RigException *e) {
|
|||
genericerror(1, ((e != 0) ? (char *)(e->message) : ""));
|
||||
#else
|
||||
if (e)
|
||||
cerr << e->message << endl;
|
||||
std::cerr << e->message << endl;
|
||||
exit(0);
|
||||
#endif
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue