Major Changes:
- Merged latest Qt5 devel content from dlbo (292 files changed, 7 new dirs)
- Consolidated forward-declarations and include folders
- Removed unneeded modules per Niklas' repo check list
Build System Fixes:
- Fixed CMake VERSION_GREATER syntax in ParticipantManagement/CMakeLists.txt
- Added VLC packages (libvlc-dev, vlc-plugin-base) to docker_build.sh
- Added PostgreSQL dev packages (libpq-dev, postgresql-server-dev-all) to Dockerfile
- Fixed locale warnings (ANSI_X3.4-1968 → C.UTF-8)
- Fixed ArcGIS SDK path warnings when BUILD_ARCGIS=OFF
Code Generation Fixes:
- Fixed IDL enum collisions (PortType→CorePortType/DdsutPortType, PdmEventType)
- Fixed Grantlee template svc_translation.cpp.grantlee:
- Changed {{ idl_enum.name }}_def:: to {{ idl_enum.name }}::
- Fixed .underlying() calls for C++11 scoped enums (enum class)
- Removed generated files from repo (moc_*, *_dtc.h, *_ftc.h)
Validation:
- BUILD_RTI=ON: SUCCESS
- BUILD_RTI=OFF: SUCCESS
- C++17 standard maintained for RTI 7.7 compatibility
- Ubuntu 26.04 Docker environment verified
Remaining Warnings (expected):
- BgViewer, KDChart, KDReports, Poppler-Qt6 not found (optional features)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
69 lines
1.7 KiB
C
Executable File
69 lines
1.7 KiB
C
Executable File
/* --------------------------------------------------------------------
|
|
/ $HeadURL$
|
|
/ --------------------------------------------------------------------
|
|
/ --------------------------------------------------------------------
|
|
/ COPYRIGHT (C) 1999: STN ATLAS ELEKTRONIK GMBH, D-28305 BREMEN
|
|
/ --------------------------------------------------------------------
|
|
/
|
|
/ HIER/ITEM : CSU: RP 5182 P 100 SRC 57500
|
|
/ BRIEF DESC: Zeitwandelroutinen
|
|
/ AUTHOR : Norbert Thoden
|
|
/ RELEASE :
|
|
/ MODIF/STAT: 21.02.00
|
|
/ ORIGIN REF:
|
|
/
|
|
/ Revision INFO:
|
|
/ --------------
|
|
/ $Revision$
|
|
/ $Date$
|
|
/ $Id$
|
|
/
|
|
/ LANGUAGE: C++ (Compiler: MipsPro C++ Version: 7.30)
|
|
/
|
|
/ PURPOSE:
|
|
/ --------
|
|
/ Zeitwandelroutinen
|
|
/
|
|
/ ERROR HANDLING:
|
|
/ ---------------
|
|
/ keine
|
|
/
|
|
*/
|
|
|
|
/*------------------ includes ----------------------------*/
|
|
|
|
#include <time.h>
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
if (argc == 1)
|
|
{
|
|
printf("\nBitte die Zeit in sec mituebergeben!");
|
|
printf("\nz. B. ctime %ld (Millisekunden sind auch erlaubt - wenn > 1000000000000 -> msec)\n", time(NULL));
|
|
return 3;
|
|
}
|
|
|
|
time_t clock;
|
|
sscanf(argv[1], "%ld", &clock);
|
|
if (clock > 1000000000000LL)
|
|
clock /= 1000;
|
|
|
|
struct tm *tm = gmtime(&clock);
|
|
printf("gmtime Zeit = %02d:", tm->tm_hour);
|
|
printf("%02d:", tm->tm_min);
|
|
printf("%02d ", tm->tm_sec);
|
|
printf("Datum = %02d.", tm->tm_mday);
|
|
printf("%02d.", (tm->tm_mon) + 1);
|
|
printf("%02d\n", tm->tm_year + 1900);
|
|
tm = localtime(&clock);
|
|
printf("localtime Zeit = %02d:", tm->tm_hour);
|
|
printf("%02d:", tm->tm_min);
|
|
printf("%02d ", tm->tm_sec);
|
|
printf("Datum = %02d.", tm->tm_mday);
|
|
printf("%02d.", (tm->tm_mon) + 1);
|
|
printf("%04d", tm->tm_year + 1900);
|
|
printf("\n");
|
|
return 0;
|
|
}
|