CRAN Package Check Results for Package MSBVAR

Last updated on 2014-04-23 12:48:22.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7-2 11.33 37.80 49.13 WARN
r-devel-linux-x86_64-debian-gcc 0.7-2 15.40 36.96 52.36 NOTE
r-devel-linux-x86_64-fedora-clang 0.7-2 95.72 WARN
r-devel-linux-x86_64-fedora-gcc 0.7-2 95.07 NOTE
r-devel-osx-x86_64-clang 0.7-2 83.73 WARN
r-devel-osx-x86_64-gcc 0.7-2 NOTE
r-devel-windows-ix86+x86_64 0.7-2 76.00 79.00 155.00 NOTE
r-patched-linux-x86_64 0.7-2 15.46 37.23 52.70 NOTE
r-patched-solaris-sparc 0.7-2 555.40 NOTE
r-patched-solaris-x86 0.7-2 130.40 NOTE
r-release-linux-ix86 0.7-2 27.00 63.00 90.00 NOTE
r-release-linux-x86_64 0.7-2 15.49 37.01 52.50 NOTE
r-release-osx-x86_64-mavericks 0.7-2 WARN
r-release-osx-x86_64-snowleopard 0.7-2 NOTE
r-release-windows-ix86+x86_64 0.7-2 76.00 84.00 160.00 NOTE
r-oldrel-windows-ix86+x86_64 0.7-2 73.00 88.00 161.00 NOTE

Check Details

Version: 0.7-2
Check: package dependencies
Result: NOTE
    Depends: includes the non-default packages:
     ‘KernSmooth’ ‘xtable’ ‘coda’ ‘bit’ ‘mvtnorm’ ‘lattice’
    Adding so many packages to the search path is excessive and importing
    selectively is preferable.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-osx-x86_64-clang, r-devel-osx-x86_64-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-ix86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-osx-x86_64-snowleopard, r-release-windows-ix86+x86_64

Version: 0.7-2
Check: whether package can be installed
Result: WARNING
    Found the following significant warnings:
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     MSBVARfun.cpp:308:16: warning: 'steady_eta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
    See ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/MSBVAR.Rcheck/00install.out’ for details.
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.7-2
Check: top-level files
Result: NOTE
    File
     LICENSE
    is not mentioned in the DESCRIPTION file.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-osx-x86_64-clang, r-devel-osx-x86_64-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-ix86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-osx-x86_64-snowleopard, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.7-2
Check: dependencies in R code
Result: NOTE
    Packages in Depends field not imported from:
     ‘bit’ ‘lattice’ ‘mvtnorm’ ‘xtable’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
    See the information on DESCRIPTION files in the chapter ‘Creating R
    packages’ of the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-osx-x86_64-clang, r-devel-osx-x86_64-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-ix86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.7-2
Check: compilation flags in Makevars
Result: NOTE
    Package has both ‘src/Makevars.in’ and ‘src/Makevars’.
    Installation with --no-configure' is unlikely to work. If you intended
    ‘src/Makevars’ to be used on Windows, rename it to ‘src/Makevars.win’
    otherwise remove it. If ‘configure’ created ‘src/Makevars’, you need a
    ‘cleanup’ script.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-osx-x86_64-clang, r-devel-osx-x86_64-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-ix86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-osx-x86_64-snowleopard, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.7-2
Check: whether package can be installed
Result: WARNING
    Found the following significant warnings:
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     MSBVARfun.cpp:308:16: warning: 'steady_eta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
    See ‘/data/gannet/ripley/R/packages/tests-clang/MSBVAR.Rcheck/00install.out’ for details.
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.7-2
Check: whether package can be installed
Result: WARNING
    Found the following significant warnings:
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     MSBVARfun.cpp:308:16: warning: 'steady_eta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
    See ‘/Users/ripley/R/packages/tests-devel/MSBVAR.Rcheck/00install.out’ for details.
Flavor: r-devel-osx-x86_64-clang

Version: 0.7-2
Check: whether package can be installed
Result: WARNING
    Found the following significant warnings:
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     MSBVARfun.cpp:308:16: warning: 'steady_eta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:38:16: warning: 'R2CRV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:39:16: warning: 'R2CCV' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:40:16: warning: 'R2Cmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:41:16: warning: 'R2Cmat2' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:42:16: warning: 'R2Carr' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:53:16: warning: 'F2C' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:62:16: warning: 'absmat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:63:16: warning: 'sqrtVec' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:64:16: warning: 'cumprod' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:65:16: warning: 'colsums' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:68:16: warning: 'diag' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:69:16: warning: 'rep' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:80:16: warning: 'rnorms' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:81:16: warning: 'rnorms_mat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:82:16: warning: 'rwish' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:83:16: warning: 'dmvnorm' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:86:16: warning: 'irf_var_from_beta' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:87:16: warning: 'irf_var_mhat' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:88:16: warning: 'b2a' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:89:16: warning: 'a2b' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:90:16: warning: 'norm_svar' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
     ./MSBVARcpp.h:91:16: warning: 'drawA0cpp' has C-linkage specified, but returns user-defined type 'NEWMAT::ReturnMatrixX &' which is incompatible with C [-Wreturn-type-c-linkage]
    See ‘/Builds/CRAN-QA-Simon/packages/mavericks-x86_64/results/3.1/MSBVAR.Rcheck/00install.out’ for details.
Flavor: r-release-osx-x86_64-mavericks

Version: 0.7-2
Check: PDF version of manual
Result: WARNING
    LaTeX errors when creating PDF version.
    This typically indicates Rd problems.
    LaTeX errors found:
    ! LaTeX Error: File `upquote.sty' not found.
    
    Type X to quit or <RETURN> to proceed,
    or enter new name. (Default extension: sty)
    
    5c03297/Rd2.tex:8: ==> Fatal error occurred, no output PDF file produced!
Flavor: r-release-osx-x86_64-mavericks

Version: 0.7-2
Check: dependencies in R code
Result: NOTE
    Packages in Depends field not imported from:
     'bit' 'lattice' 'mvtnorm' 'xtable'
     These packages need to be imported from for the case when
     this namespace is loaded but not attached.
    See the information on DESCRIPTION files in the chapter 'Creating R
    packages' of the 'Writing R Extensions' manual.
Flavor: r-release-osx-x86_64-snowleopard