CRAN Package Check Results for Package MSBVAR

Last updated on 2014-04-16 11:47:22.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7-2 11.62 37.90 49.52 WARN
r-devel-linux-x86_64-debian-gcc 0.7-2 15.38 38.50 53.88 NOTE
r-devel-linux-x86_64-fedora-clang 0.7-2 97.06 WARN
r-devel-linux-x86_64-fedora-gcc 0.7-2 95.78 NOTE
r-devel-macosx-x86_64-clang 0.7-2 84.08 WARN
r-devel-macosx-x86_64-gcc 0.7-2 NOTE
r-devel-windows-ix86+x86_64 0.7-2 75.00 78.00 153.00 NOTE
r-patched-linux-x86_64 0.7-2 15.27 38.40 53.68 NOTE
r-patched-solaris-sparc 0.7-2 555.40 NOTE
r-patched-solaris-x86 0.7-2 131.20 NOTE
r-release-linux-ix86 0.7-2 36.00 62.00 98.00 NOTE
r-release-linux-x86_64 0.7-2 15.18 38.19 53.37 NOTE
r-release-macosx-x86_64 0.7-2 NOTE
r-release-windows-ix86+x86_64 0.7-2 74.00 77.00 151.00 NOTE
r-oldrel-windows-ix86+x86_64 0.7-2 72.00 82.00 154.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-macosx-x86_64-clang, r-devel-macosx-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-macosx-x86_64, 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-macosx-x86_64-clang, r-devel-macosx-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-macosx-x86_64, 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-macosx-x86_64-clang, r-devel-macosx-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-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-macosx-x86_64-clang, r-devel-macosx-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-macosx-x86_64, 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-macosx-x86_64-clang

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-macosx-x86_64