hdf5/examples
Sean McBride 5ed255a607
Fixed all -Wincompatible-pointer-types-discards-qualifiers warnings (#341)
* Fixed various -Wincompatible-pointer-types-discards-qualifiers warnings by adding const

* Fixed various -Wincompatible-pointer-types-discards-qualifiers warning by removing extraneous consts

There were casts with const, but the function parameter doesn't actaully take const, so just modified the casts.

In the other case, a local variable was const that should not have been, becuase its source wasn't const either.

* Fixed a -Wincompatible-pointer-types-discards-qualifiers warning by strdup-ing a string

Create a duplicate string instead of mutating a supposedly const one.
2021-02-22 11:37:12 -06:00
..
Attributes.txt Trim trailing whitespace 2020-04-20 18:12:00 -05:00
CMakeLists.txt OESS-98 merge with clang-format changes 2020-09-25 16:43:57 -05:00
CMakeTests.cmake Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_attribute.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_chunk_read.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_cmprss.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_compound.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_crtatt.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_crtdat.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_crtgrp.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_crtgrpar.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_crtgrpd.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_debug_trace.c Clang-format of source files 2020-09-30 09:27:10 -05:00
h5_drivers.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_dtransform.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_elink_unix2win.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_extend_write.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_extend.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_extlink.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_group.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_interm_group.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_mount.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_rdwt.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_read.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_ref2reg_deprec.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_ref_compat.c Fixed all -Wincompatible-pointer-types-discards-qualifiers warnings (#341) 2021-02-22 11:37:12 -06:00
h5_ref_extern.c Fixed all -Wincompatible-pointer-types-discards-qualifiers warnings (#341) 2021-02-22 11:37:12 -06:00
h5_reference_deprec.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_select.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_shared_mesg.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_subset.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_vds-eiger.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_vds-exc.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_vds-exclim.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_vds-percival-unlim-maxmin.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_vds-percival-unlim.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_vds-percival.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_vds-simpleIO.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_vds.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5_write.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
Makefile.am Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
ph5example.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
README [svn-r30243] Correct spelling 2016-08-01 13:23:09 -05:00
run-all-ex.sh Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
run-c-ex.sh.in Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
testh5cc.sh.in Update license url part2 (#333) 2021-02-17 08:52:36 -06:00

                               HDF5 Examples

This directory contains example programs for the installed APIs and scripts to 
compile and run them.  Examples in the c and hl/c subdirectories are always 
installed, and those in fortran, hl/fortran, c++ and hl/c++ will be installed 
when fortran or c++ are enabled.

Running the run-all-ex.sh script in this directory will run the scripts and in 
turn the examples in all the subdirectories where examples are installed.  The 
scripts can also be run individually.  The appropriate compile scripts in the 
bin directory for this install will be used by default to compile and link the 
example programs.  Note that h5redeploy must be run if these binaries are 
copied or extracted in a directory other than the one where they were initially 
installed.  Compile scripts from other locations can be used by setting an 
environment variable prefix to the path of the directory containing the bin 
directory with the compile scripts h5cc, h5fc, etc.  For example, export 
prefix=/usr/local/hdf5 to use h5cc, h5fc, etc. in /usr/local/hdf5/bin.