![]() |
【转帖】odansistring and linu
odansistring and linux
odansistring and linux with the way odansistring is implemented you cannot have the "=" operator on the same line as the definition when using gcc 3.3 (and probably other versions). so you cannot do: odansistring astr = str; you have to do: odansistring astr; astr = str; note: not a bug, just a warning. what is "str"? what compiler says? vladimir str is usually a odstring in my case, but it could be another odansistring. the message is: error: conversion from 'odstring' to non-scalar type 'odansistring' requested. you may probably fix it by changing one constructor signature for ansistring: code: odansistring(const odstring& , odcodepageid); change to: code: odansistring(const odstring& , odcodepageid = cp_cnt); vladimir |
所有的时间均为北京时间。 现在的时间是 03:54 PM. |