I get a lot of warnings building latest Harbour from SVN. Do I have to
report all of them or they are expected?
EMG
--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tb
>> Pls just delete this function, the low-level API
>> is deprecated (I assume since long years), so it's
>> not worth to spend much time on it, and maybe it
>> cannot even be fixed since the API may just be
>> wrongly designed.
>
> OK, thank you for the info.
> I'll do that in next commit.
T
On Fri, 26 Mar 2010, Szak�ts Viktor wrote:
Hi,
> Pls just delete this function, the low-level API
> is deprecated (I assume since long years), so it's
> not worth to spend much time on it, and maybe it
> cannot even be fixed since the API may just be
> wrongly designed.
OK, thank you for the
Hi,
> This warning is generated for hbpgsql library:
>
> ../../../postgres.c: In function ‘HB_FUN_PQESCAPEBYTEA’:
> ../../../postgres.c:816: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
>
> This is real bug and definitely has to be fixed, it passes pointer
> to
Hi,
This warning is generated for hbpgsql library:
../../../postgres.c: In function ‘HB_FUN_PQESCAPEBYTEA’:
../../../postgres.c:816: warning: dereferencing type-punned pointer will break
strict-aliasing rules
This is real bug and definitely has to be fixed, it passes pointer
to HB_SIZE casted t
> Warning W8012 ../../../hbeditc.c 961: Comparing signed and unsigned values in
> function HB_FUN_ED_STABILIZE
> Warning W8012 ../../../hbeditc.c 1627: Comparing signed and unsigned values
> in function End
> Warning W8012 ../../../hbeditc.c 1640: Comparing signed and unsigned values
> in functi
Warning W8012 ../../../hbeditc.c 961: Comparing signed and unsigned values
in function HB_FUN_ED_STABILIZE
Warning W8012 ../../../hbeditc.c 1627: Comparing signed and unsigned values
in function End
Warning W8012 ../../../hbeditc.c 1640: Comparing signed and unsigned values
in function End
Warni
Warning W8004 ../../../win_bmpd.c 142: 'nPos' is assigned a value that is
never used in function hb_jpeg_get_param
Warning W8004 ../../../win_bmpd.c 84: 'bpc' is assigned a value that is
never used in function hb_jpeg_get_param
Warning W8004 ../../../win_bmpd.c 83: 'colorspace' is assigned a valu
Warning W8060 ../../../wapi_wingdi.c 362: Possibly incorrect assignment in
function HB_FUN_WAPI_SELECTOBJECT
Warning W8060 ../../../wapi_wingdi.c 363: Possibly incorrect assignment in
function HB_FUN_WAPI_SELECTOBJECT
EMG
--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG's ZX-S
Enrico Maria Giordano wrote:
Warning W8004 ../../../hb_btree.c 620: 'pHeader' is assigned a value
that is never used in function HeaderWrite
Warning W8004 ../../../hb_btree.c 1619: 'pHeader' is assigned a value
that is never used in function hb_BTreeOpen
I've tried to find the gcc flag (cc (GC
Warning W8004 ../../../hb_btree.c 620: 'pHeader' is assigned a value that is
never used in function HeaderWrite
Warning W8004 ../../../hb_btree.c 1619: 'pHeader' is assigned a value that
is never used in function hb_BTreeOpen
EMG
--
EMAG Software Homepage: http://www.emagsoftware.it
The EM
Hi,
After a clean build I have lots of warnings like this one:
../../../gencc.c(656) : warning C4244: '=' : conversi¢n de 'size_t' a 'USHORT';
posible p,rdida de datos
../../../gencc.c(808) : warning C4244: '=' : conversi¢n de 'size_t' a 'USHORT';
posible p,rdida de datos
and more. Attached r
Warning W8065 ../../../wapi_shellapi.c 71: Call to function 'hb_setGetOSCP'
with no prototype in function HB_FUN_WAPI_SHELLEXECUTE
Error E2342 ../../../wapi_shellapi.c 71: Type mismatch in parameter 'cdp'
(wanted 'void *', got 'int') in function HB_FUN_WAPI_SHELLEXECUTE
Warning W8065 ../../../wap
Warning W8004 ../../../win_com.c 678: 'hCommPort' is assigned a value that
is never used in function HB_FUN_WIN_COMSETTIMEOUTS
Warning W8004 ../../../win_com.c 699: 'hCommPort' is assigned a value that
is never used in function HB_FUN_WIN_COMSETQUEUESIZE
EMG
--
EMAG Software Homepage: http
On Mon, 17 Aug 2009, Lautaro Moreira wrote:
Hi !
I have the same warnings.
This is normal ???
Yes it is.
I hope that Viktor reduce warning level before someone starts
mechanical
warning cleanup hiding real bugs and introducing very serious problem
for types modification in the future.
A ra
Ok,
Thanks for your answer.
Atte.,
Lautaro
Przemyslaw Czerpak escribió:
On Mon, 17 Aug 2009, Lautaro Moreira wrote:
Hi !
I have the same warnings.
This is normal ???
Yes it is.
I hope that Viktor reduce warning level before someone starts mechanical
warning cleanup hiding real bugs
On Mon, 17 Aug 2009, Lautaro Moreira wrote:
> Hi !
> I have the same warnings.
> This is normal ???
Yes it is.
I hope that Viktor reduce warning level before someone starts mechanical
warning cleanup hiding real bugs and introducing very serious problem
for types modification in the future.
best
Hi !
I have the same warnings.
This is normal ???
Atte.,
Lautaro
Itamar Lins escribió:
Hi!
This is normal ?
! MAKE: mingw32-make 3.81 sh.exe
! HB_INSTALL_PREFIX: D:\DEV\HARBOUR
! HB_HOST_ARCH: win HB_SHELL: nt
! HB_ARCHITECTURE: win (autodetected)
! HB_COMPILER: msvc
../../../expropt2.
Hi!
This is normal ?
! MAKE: mingw32-make 3.81 sh.exe
! HB_INSTALL_PREFIX: D:\DEV\HARBOUR
! HB_HOST_ARCH: win HB_SHELL: nt
! HB_ARCHITECTURE: win (autodetected)
! HB_COMPILER: msvc
../../../expropt2.c(557) : warning C4244: '=' : conversion from 'HB_LONG' to
'long', possible loss of data
../.
Hi Enrico Maria,
I confirm these warnings too. :-(
It seems that missing casting in the include\hbatomic.h.
Try to change the following lines:
/* Spin locks */
# if !defined( HB_SPINLOCK_T )
# define HB_SPINLOCK_T volatile LONG
# define HB_SPINLOCK_INIT 0
# defi
Warning W8075 ../../../../garbage.c 220: Suspicious pointer conversion in
function hb_gcAlloc
Warning W8075 ../../../../garbage.c 220: Suspicious pointer conversion in
function hb_gcAlloc
Warning W8075 ../../../../garbage.c 249: Suspicious pointer conversion in
function hb_gcFree
Warning W8075 .
Hello All,
There are warnings at BCC Harbour build after change below:
2009-08-10 11:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbatomic.h
% added architecture independent support for atomic operations and
spinlocks in all SunOS builds
It seems that mi
It signals wrong host detection which may well be, and that's
exactly why I left the message there.
Pls try after Przemek's recent additions.
Brgds,
Viktor
On 2009.07.15., at 8:10, Lorenzo Fiorini wrote:
Now I see many:
...
Detected host binary extension: .exe
Detected host platform: dos
...
On Wed, 15 Jul 2009, Lorenzo Fiorini wrote:
> Now I see many:
> ...
> Detected host binary extension: .exe
> Detected host platform: dos
> ...
> ../../../../../config/global.cf:106: Warning: HB_BIN_COMPILE must be
> specified for cross-builds.
> ...
> during ./make_gnu.sh build under Ubuntu 9.04 x8
Now I see many:
...
Detected host binary extension: .exe
Detected host platform: dos
...
../../../../../config/global.cf:106: Warning: HB_BIN_COMPILE must be
specified for cross-builds.
...
during ./make_gnu.sh build under Ubuntu 9.04 x86.
Is it expected?
best regards,
Lorenzo
_
Warning W8075 ../../hbcmplib.c 97: Suspicious pointer conversion in function
hb_compGenArgList
Warning W8075 ../../hbcmplib.c 101: Suspicious pointer conversion in
function hb_compGenArgList
Warning W8075 ../../ampm.c 64: Suspicious pointer conversion in function
HB_FUN_AMPM
Warning W8075 ..
Warning W8084 ../../wapi_commctrl.c 645: Suggest parentheses to clarify
precedence in function HB_FUN_WAPI_TABCTRL_SETITEMSIZE
Warning W8084 ../../wapi_commctrl.c 661: Suggest parentheses to clarify
precedence in function HB_FUN_WAPI_TABCTRL_SETPADDING
Warning W8084 ../../wapi_commctrl.c 720: Sug
-Messaggio Originale-
Da: "Viktor Szakáts"
A: "Harbour Project Main Developer List."
Data invio: lunedì 2 marzo 2009 15.44
Oggetto: Re: [Harbour] Warnings
I've committed it already, please verify it.
Yes, all warnings fixed, thank you.
EMG
--
EMAG So
-Messaggio Originale-
Da: "Pritpal Bedi"
A:
Data invio: lunedì 2 marzo 2009 15.36
Oggetto: Re: [Harbour] Warnings
> Warning W8084 ../../gtwvg.c 2369: Suggest parentheses to clarify
> precedence
> in function hb_gt_wvt_CreateWindow
Fixed. But not committed yet
I've committed it already, please verify it.
Brgds,
Viktor
On Mon, Mar 2, 2009 at 3:36 PM, Pritpal Bedi wrote:
>
> Hi
>
>
> Enrico Maria Giordano wrote:
> >
> > Warning W8084 ../../gtwvg.c 2369: Suggest parentheses to clarify
> > precedence
> > in function hb_gt_wvt_CreateWindow
> >
>
> Fixed. Bu
Hi
Enrico Maria Giordano wrote:
>
> Warning W8084 ../../gtwvg.c 2369: Suggest parentheses to clarify
> precedence
> in function hb_gt_wvt_CreateWindow
>
Fixed. But not committed yet.
Regards
Pritpal Bedi
--
View this message in context:
http://www.nabble.com/Warnings-tp22285307p22289267.
Warning W8084 ../../gtwvg.c 2369: Suggest parentheses to clarify precedence
in function hb_gt_wvt_CreateWindow
./../regexrpl.prg(96) Warning W0032 Variable 'NEND' is assigned but not
used in function 'HB_REGEXREPLACE(0)'
EMG
--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG'
gtwvg:
\wvgclass.prg(328) Warning W0032 Variable 'N' assigned but not used in
function 'WVTDIALOG_CREATE(0)'
\wvgclass.prg(2662) Warning W0032 Variable 'NNEWPOS' assigned but not used
in function 'WVTSCROLLBAR_THUMBPOS(0)'
hbwhat:
Warning W8084 .\whtcomm.c 189: Suggest parentheses to clarif
Warning W8084 .\whtcomm.c 189: Suggest parentheses to clarify precedence in
function HB_FUN_VWN_CREATEPROGRESSBAR
Warning W8084 .\whtcomm.c 381: Suggest parentheses to clarify precedence in
function HB_FUN_VWN_LISTVIEW_GETFIRSTITEM
Warning W8084 .\whthead.c 351: Suggest parentheses to clarify p
Just to report that ./make_gnu.sh 2>err.log Harbour 1.0.1 on Ubuntu 8.10 I get:
In file included from ../../hbpp.c:55:
../../ppcore.c: In function 'hb_pp_dumpEnd':
../../ppcore.c:842: warning: ignoring return value of 'fwrite',
declared with attribute warn_unused_result
../../ppcore.c: In function
I'm building svn 9548 under Ubuntu 8.04 i386 using gcc version 4.2.3
(Ubuntu 4.2.3-2ubuntu7) and I get:
../../ppcore.c: In function 'hb_pp_tokenFree':
../../ppcore.c:369: warning: passing argument 1 of 'hb_xfree' discards
qualifiers from pointer target type
../../ppcore.c: In function 'hb_pp_opera
Warning W8012 source\vm\classes.c 4526: Comparing signed and unsigned values
in function HB_FUN___CLSPREALLOCATE
Warning W8012 source\rdd\workarea.c 2235: Comparing signed and unsigned
values in function HB_FUN___RDDPREALLOCATE
EMG
--
EMAG Software Homepage: http://www.emagsoftware.it
Th
Hi Przemek and all,
I'm getting these warnings for the malloc code FYI:
[ It may be enough to suppress them, like we do for
sqlite3, at least for these compilers. ]
Please try to compiler current sqlite3 without any #pragma.
I cleaned nearly all standard warnings for GCC/G++ builds.
Okay, I'
On Thu, 18 Sep 2008, Szak�ts Viktor wrote:
Hi Viktor,
> I'm getting these warnings for the malloc code FYI:
> [ It may be enough to suppress them, like we do for
> sqlite3, at least for these compilers. ]
Please try to compiler current sqlite3 without any #pragma.
I cleaned nearly all standard w
Hi Przemek,
I'm getting these warnings for the malloc code FYI:
[ It may be enough to suppress them, like we do for
sqlite3, at least for these compilers. ]
MSVS 2008:
c:\work\harbour\harbour\source\vm\dlmalloc.c(675) : warning C4565:
'malloc' : redefinition; the symbol was previously declared
Warning W8075 source\rtl\gtclip.c 112: Suspicious pointer conversion in
function hb_gt_w32_setClipboard
Warning W8075 source\rtl\gtclip.c 146: Suspicious pointer conversion in
function hb_gt_w32_getClipboard
Warning W8075 source\rtl\gtclip.c 148: Suspicious pointer conversion in
function hb_gt_w
-Messaggio Originale-
Da: "Szakáts Viktor" <[EMAIL PROTECTED]>
A: "Harbour Project Main Developer List."
Data invio: mercoledì 11 giugno 2008 14.49
Oggetto: Re: [Harbour] Warnings
Hi EMG,
I'm planning to commit some changes to this
file, which will a
Hi EMG,
I'm planning to commit some changes to this
file, which will also fix these warnings.
Brgds,
Viktor
On 2008.06.11., at 14:19, Enrico Maria Giordano wrote:
Warning W8004 source\rtl\gtwvt\gtwvt.c 529: 'height' is assigned a
value that is never used in function hb_gt_wvt_FitSize
Warning
Warning W8004 source\rtl\gtwvt\gtwvt.c 529: 'height' is assigned a value
that is never used in function hb_gt_wvt_FitSize
Warning W8004 source\rtl\gtwvt\gtwvt.c 528: 'width' is assigned a value that
is never used in function hb_gt_wvt_FitSize
EMG
--
EMAG Software Homepage: http://www.emags
44 matches
Mail list logo