[FLASH-BUGS] Missing headers in two IO HDF5 C-files

Stöckl, Josef Josef.Stoeckl at uibk.ac.at
Mon Sep 2 07:42:54 CDT 2013


Dear FLASH team,

There are some missing headers in two files, which depending on the compiler either leads to warnings about the size of the pointer returned from malloc and/or some string calls, or causes "has not been defined" errors. The affected files are:
IO/IOMain/hdf5/io_h5write_generic_int_arr.c
IO/IOMain/hdf5/io_h5write_generic_real_arr.c

This can be solved by adding the following lines to the start of the files.
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>

Best regards,
Josef


----------------------------------------------
Dr. Josef Stöckl
Institute of Astro- and Particle Physics
Technikerstrasse 25/8
6020 Innsbruck
Austria

Phone:  +43 512 507 52020
E-Mail: josef.stoeckl at uibk.ac.at




More information about the flash-bugs mailing list