[ADOL-C] warnings using g++ -Wconversion

Brad Bell bradbell at seanet.com
Sat Jul 22 15:58:28 EDT 2017

I notice some warning when I compile adol-c code with
	g++ -Wconversion
For example:


warning: conversion to ‘locint {aka unsigned int}’ from ‘size_t {aka 
long unsigned int}’ may alter its value [-Wconversion]

ADOLC_DLL_EXPORT advector(const advector& x) : blk(x.size()), 
data(x.size()) {  adolc_vec_copy(data.data(),x.data.data(),x.size()); }

More information about the ADOL-C mailing list