Compiler reference error due to calling ulldiv.asm for c++ program -


this strange error. when run code, had update location of ulldiv.asm via

implementation of unsigned long long division

the line in question matched 1 used in link:http://objectmix.com/c/68732-dynamic-memory-allocation-c.html

tim = (__time64_t)((nt_time.ft_scalar - epoch_bias) / 10000000i64); 

anyways, first link gave me right answer , relocated ulldiv.asm c:\program files (x86)\microsoft visual studio 12.0\vc\crt\src\intel\ulldiv.asm.

now when run code line gives me trouble

double  noise_sigma = noise_density*sqrt(sys_clk_freq); 

the sqrt function becomes undefined (?). debugger stops , asks me location of sqrt.asm.

you need find sqrt.asm view source current call stack frame 

this similar error found in german website: http://www.c-plusplus.de/forum/324725-full

but doesn't seem resolved there.

i don't understand what's going on. if need more information regarding code, let me know. thank in advance.

if makes difference step through code using f11.

while of source files visual c++ libraries included visual studio installation, files not included. notably, sources math library not included.

the fact debugger cannot automatically find ulldiv.asm bug; has been fixed in visual studio "14" (i think fix present in ctp1; know sure fix present in ctp3 released today).


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -