help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

conversion warning


From: Alexandru Mosoi
Subject: conversion warning
Date: Sun, 09 Sep 2007 00:32:52 -0000
User-agent: G2/1.0

supposing that I have the following lines:

long long a = 12345678901234567890LL;
int b = a;

how can I make g++ (4.1.2) issue an warning because of loss of
precision?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]