YAM Development (#4) - Can't compile nightly buils under OS4 (#119) - Message List

Can't compile nightly buils under OS4
 unsolved

Hi, just downloaded latest YAM source trunk and try to compile under os4.

Seems problem is with Object * VARARGS68K YAM_NewObject(CONST_STRPTR className, …);

Aftr "fixing" some minor problems (some headers have an unwanted alone '*' character in headers). I always get stuck with 'YAM.c'. At first sight it seemed that those alone '*' character (and indeed it had one in line 55), but no luck, it always says/outputs:

#gmake OS=os4 debug= buildid=20150725 gmake[1]: Entering directory `/RAM Disk/trunk/src'

CC YAM.c

In file included from Config.h:40,

from YAM.c:104:

mui/TransferWindow.h:35: error: expected identifier or '(' before 'Object' gmake[1]: * [.obj_os4/YAM.o] Error 1

someone have any clue what problem can be?

/***************************************************************************
 YAM - Yet Another Mailer
 Copyright (C) 1995-2000 Marcel Beck
 Copyright (C) 2000-2015 YAM Open Source Team
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 YAM Official Support Site :  http://www.yam.ch/
 YAM OpenSource project    :  http://sourceforge.net/projects/yamos/
***************************************************************************/
/* This file is automatically generated with GenClasses - PLEASE DO NOT EDIT!!! */
#ifndef MUI_TRANSFERWINDOW_H
#define MUI_TRANSFERWINDOW_H 1
#ifndef SDI_COMPILER_H
  #include "SDI_compiler.h"
#endif
Object * VARARGS68K YAM_NewObject(CONST_STRPTR className, ...);
#define MUIC_TransferWindow "YAM_TransferWindow"
#define TransferWindowObject YAM_NewObject(MUIC_TransferWindow
#define MUIM_TransferWindow_CreateTransferControlGroup 0x80004400
#define MUIM_TransferWindow_DeleteTransferControlGroup 0x80004401
#define MUIA_TransferWindow_NumberOfControlGroups      0x80004402
/* Exported text */
enum TransferWindowMode
{
  TWM_HIDE = 0,
  TWM_AUTO,
  TWM_SHOW
};
struct MUIP_TransferWindow_CreateTransferControlGroup
{
  ULONG methodID;
  const char *title;
};
struct MUIP_TransferWindow_DeleteTransferControlGroup
{
  ULONG methodID;
  Object *group;
};
#endif /* MUI_TRANSFERWINDOW_H */

TIA

  • Message #427

    Ooops double post. Don't know what I did, sorry.

    Someway to delete this one and keep only #120.

    TIA

Attachments

No attachments created.