symbols

gcc ignore casing of symbol names while linking

限于喜欢 提交于 2020-01-14 09:32:14
问题 A software I am working on ships with NETLIB BLAS/LAPACK embedded into its sources using all-lowercase symbol names but now while porting the application to windows I discovered that Intel MKL and several other BLAS/LAPACK implementations for this platform use all-uppercase symbol names. Is there a way to tell the gnu compiler/linker to ignore case while matching symbol names? . . . undefined reference to `_dgeqp3' . . . $ nm /lib/LAPACK.lib | grep -i " T _dgeqp3" 00000000 T _DGEQP3 回答1: The

How to know whether a symbol represents function or macro?

血红的双手。 提交于 2020-01-14 02:28:10
问题 I'm writing a macro for function / macro composition (mixed combinations are possible). Inside of the macro I have to treat symbols which represent functions and those that name macros differently. It is because result function must work with any number of arguments (if 'lowest' function in composition can), and I cannot apply apply to macros. My question: how to determine what a given symbol represents: function or macro? 回答1: Macro: CL-USER 8 > (macro-function 'bar) NIL CL-USER 9 > (macro

How to create a symbol from a string that has whitespaces?

假装没事ソ 提交于 2020-01-12 03:24:05
问题 I am creating a Ruby hash for movie names storage. When the hash's keys are strings that contains whitespaces, it works just fine. As in: movies = {"Avatar" => 5, "Lord of the rings" => 4, "Godfather" => 4} Now I am trying to replace the use of strings with symbols: movies = {Avatar: 5, Lord of the rings: 4, Godfather: 4} Obviously that doesn't work. How does Ruby handle whitespaces in symbol naming? 回答1: Try by yourself "Lord of the rings".to_sym #=> :"Lord of the rings" 回答2: I'm not sure

Crash dump - WinDbg - force PDB files to match doesn't work?

半城伤御伤魂 提交于 2020-01-11 02:04:37
问题 I have a crash dump for a customer's application built with a very old version of our dll (release build, don't have original symbols) that I've been analyzing in WinDbg. In order to get more information, I rebuilt the dll in release mode, with symbols this time, using the same compiler version and I believe the same settings as when the dll was originally built. I added the symbol file to my symbol path, but the WinDbg extension !itoldyouso tells me the module in the dump doesn't match the

Crash dump - WinDbg - force PDB files to match doesn't work?

陌路散爱 提交于 2020-01-11 02:04:10
问题 I have a crash dump for a customer's application built with a very old version of our dll (release build, don't have original symbols) that I've been analyzing in WinDbg. In order to get more information, I rebuilt the dll in release mode, with symbols this time, using the same compiler version and I believe the same settings as when the dll was originally built. I added the symbol file to my symbol path, but the WinDbg extension !itoldyouso tells me the module in the dump doesn't match the

How much information do pdb files contain? (C# / .NET)

匆匆过客 提交于 2020-01-10 09:49:49
问题 Is is wise to redistribute the pdb files along with a commercial application? Occasionally, I'm using the stack trace to get a more detailed error reporting logs from the deployed applications; can this functionality be achieved without relying to those files? Also, how much hints of the original source code does these files contain? Would it be easier to reverse-engineer my application using it? 回答1: It basically adds information for: All non-public types, interfaces, structures, classes

How can I use different symbols for groups of x*y=z plots in proc gplot?

梦想的初衷 提交于 2020-01-06 18:44:02
问题 What I'm trying to do: I'm creating plots using the code below. PERIOD has 3 different values, so the plot and plot2 statements each create 3 series on the plot via an x*y=z type of plot request. I want the 3 series from the plot statement to have symbols that are joined up, and I want the 3 series from the plot2 statement to have symbols that are not joined up. Whatever solution I come up with needs to work inside a macro. The problem No matter what I try, all 6 series on each chart end up

google map polyline dashed and double lines

坚强是说给别人听的谎言 提交于 2020-01-06 03:41:15
问题 I have a google map polyline sample here with four coordinates. I drawn the dashed line using symbol property as, var lineSymbol = { path: 'M 0,-1 0,1', strokeOpacity: 1, strokeWeight: 2, scale: 3 }; var lineCoordinates = [ new google.maps.LatLng(22.291, 153.027), new google.maps.LatLng(18.291, 153.027), new google.maps.LatLng(15.291, 153.027), new google.maps.LatLng(11.291, 153.027)]; var line = new google.maps.Polyline({ path: lineCoordinates, strokeOpacity: 0, icons: [{ icon: lineSymbol,

ReferenceError: Error #1008 Class is ambiguous

时光毁灭记忆、已成空白 提交于 2020-01-05 13:06:10
问题 I have a As3 file and I get a runtime error: ReferenceError: **Error #1008**: Tooltip is ambiguous; Found more than one matching binding. I have a class named Tooltip and also a symbol in library with linkage class: Tooltip and Base Class fvg.Tooltip (fvg is the name of the package). Why I get this conflict? 回答1: Fixed! I had to import the Tooltip class in my Document class file. 来源: https://stackoverflow.com/questions/2446183/referenceerror-error-1008-class-is-ambiguous

WinDbg, display Symbol Server paths of loaded modules (even if the symbols did not load)?

给你一囗甜甜゛ 提交于 2020-01-04 09:27:53
问题 Is there a way from WinDbg, without using the DbgEng API, to display the symbol server paths (i.e. PdbSig70 and PdbAge) for all loaded modules? I know that lml does this for the modules whose symbols have loaded. I would like to know these paths for the symbols that did not load so as to diagnose the problem. Anyone know if this is possible without having to utilize the DbgEng API? edited: I also realize that you can use !sym noisy to get error messages about symbols loading. While this does